JuliaArrays/ElasticArrays.jl

Name: ElasticArrays.jl

Owner: JuliaArrays

Description: Resizeable multi-dimensional arrays for Julia

Created: 2017-10-06 15:32:16.0

Updated: 2018-01-17 18:59:41.0

Pushed: 2017-10-15 08:39:01.0

Homepage:

Size: 23

Language: Julia

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ElasticArrays.jl

Build Status Build status codecov

ElasticArrays provides resizeable multidimensional arrays for Julia.

An ElasticArray is a fast, contiguous array that can grow and shrink, but only in its last dimension:

g ElasticArrays

ElasticArray{Int}(2, 3, 0)

i in 1:4
append!(A, rand(0:99, 2, 3))

(A) == (2, 3, 4)

ze!(A, 2, 3, 2)
(A) == (2, 3, 2)

However

ze!(A, 2, 4, 2)

would result in an error, as only the size of the last dimension may be changed.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.