If your arrays keep their shape and dimensionality, the FixedSizeArrays <https://github.com/SimonDanisch/FixedSizeArrays.jl> package is worthwhile.
On Wednesday, June 15, 2016 at 1:41:38 PM UTC-4, Robert DJ wrote: > > In a function that modifies an array argument I would like to pass at > least (Dense)Arrays and SubArrays (from `slice`). AbstractArray is too > broad a type -- a LinSpace does not allow changing an entry. > What would be a suitable class? > Union{DenseArray, SubArray} > works, but is there a better choice? >