Recursive Array Functions
These are functions designed for recursive arrays, like arrays of arrays, and do not require that the RecursiveArrayTools types are used.
Function List
RecursiveArrayTools.recursivecopy
— Functionrecursivecopy(a::Union{AbstractArray{T, N}, AbstractVectorOfArray{T, N}})
A recursive copy
function. Acts like a deepcopy
on arrays of arrays, but like copy
on arrays of scalars.
RecursiveArrayTools.recursivecopy!
— Functionrecursivecopy!(b::AbstractArray{T, N}, a::AbstractArray{T, N})
A recursive copy!
function. Acts like a deepcopy!
on arrays of arrays, but like copy!
on arrays of scalars.
RecursiveArrayTools.vecvecapply
— Functionvecvecapply(f::Base.Callable, v)
Calls f
on each element of a vecvec v
.
RecursiveArrayTools.copyat_or_push!
— Functioncopyat_or_push!{T}(a::AbstractVector{T}, i::Int, x)
If i<length(x)
, it's simply a recursivecopy!
to the i
th element. Otherwise, it will push!
a deepcopy
.