Tools for easily handling objects like arrays of arrays and deeper nestings in scientific machine learning (SciML) and other applications
166 Stars
Updated Last
7 Months Ago
Started In
October 2016


Join the chat at #sciml-bridged Global Docs

codecov Build Status build status

ColPrac: Contributor's Guide on Collaborative Practices for Community Packages SciML Code Style

RecursiveArrayTools.jl is a set of tools for dealing with recursive arrays like arrays of arrays.

Tutorials and Documentation

For information on using the package, see the stable documentation. Use the in-development documentation for the version of the documentation, which contains the unreleased features.


using RecursiveArrayTools
a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
b = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
vA = VectorOfArray(a)
vB = VectorOfArray(b)

vA .* vB # Now all standard array stuff works!

a = (rand(5), rand(5))
b = (rand(5), rand(5))
pA = ArrayPartition(a)
pB = ArrayPartition(b)

pA .* pB # Now all standard array stuff works!