Skip to content

About

Fixed-size multidimensional arrays. An Array-like type with less indirection at the cost of resizing capability.

Topics

Resources

Stars

101 stars

Watchers

8 watching

Forks

Latest commit

 

History

188 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FixedSizeArrays.jl

docs stable docs dev Aqua QA Build Status Coverage PkgEval

FixedSizeArrays.jl is a package for the Julia programming language which implements mutable fixed-size arrays: arrays whose size is set once, at construction, and cannot change afterwards. The size can be fixed at two different stages:

  • at runtime, with FixedSizeArray: the size is a constant field of the array, so arrays of all sizes share the same type and compiled code, and the compiler can constant-propagate it when it is known at compile time;
  • at compile time, dimension by dimension, with FixedSizeArrays.FixedSizeArrayDims: each dimension can be static, a compile-time constant which is part of the type, or dynamic, an Int stored in the array. Static dimensions are Vals, or StaticInts from the Static.jl package, a weak dependency.

FixedSizeArray is an alias for FixedSizeArrayDims with all dimensions dynamic, so everything which works for a FixedSizeArray also works for an array with static dimensions.

FixedSizeArrays supports the standard array interfaces, so things like broadcasting, matrix multiplication, other linear algebra operations, similar, copyto! or map should just work.

Find more in the manual:

Videos about FixedSizeArrays.jl

About

Fixed-size multidimensional arrays. An Array-like type with less indirection at the cost of resizing capability.

Topics

Resources

Stars

101 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages