ElasticArrays.jl
Resizeable multi-dimensional arrays for Julia
Install / Use
/learn @JuliaArrays/ElasticArrays.jlREADME
ElasticArrays.jl
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:
using ElasticArrays
A = ElasticArray{Int}(undef, 2, 3, 0)
for i in 1:4
append!(A, rand(0:99, 2, 3))
end
size(A) == (2, 3, 4)
resize!(A, 2, 3, 2)
size(A) == (2, 3, 2)
However
resize!(A, 2, 4, 2)
would result in an error, as only the size of the last dimension may be changed.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
