Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RecursiveArrayTools.jl

Build Status Build status Coverage Status codecov.io

RecursiveArrayTools.jl is a set of tools for dealing with recursive arrays like arrays of arrays. The current functionality includes:

recursivecopy!(b::Array{T,N},a::Array{T,N})

A recursive copy! function. Acts like a deepcopy! on arrays of arrays, but like copy! on arrays of scalars.

vecvec_to_mat(vecvec)

Takes in a vector of vectors, returns a matrix.

vecvecapply(f::Base.Callable,v)

Calls f on each element of a vecvec v.

copyat_or_push!{T}(a::AbstractVector{T},i::Int,x)

If i<length(x), it's simply a recursivecopy! to the ith element. Otherwise it will push! a deepcopy.

About

Tools for easily handling objects like arrays of arrays and deeper nestings

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages