Releases: JuliaArrays/StaticArrays.jl
Releases · JuliaArrays/StaticArrays.jl
StaticArrays v0.3.1
Fixed a bug where similar_type
was skipped by matrix multiplication.
StaticArrays v0.4.0
This is a rewrite of StaticArrays to conform with Julia's v0.6 compiler. Along with this rewrite comes the following changes:
Improvements:
- Full multidimensional APL indexing should now be implemented.
- Similarly,
broadcast
,broadcast!
,map
andmap!
now support arbitrary many static array inputs. - Universal use of the
Size
trait for dispatch - A
Length
trait and related pure functions - Reorganized files a little, tried to upgrade most code to the new v0.6 syntax and be more consistent with formatting and expression munging.
- Started some work on static ranges - the eventual goal here is to have better literal syntax and upgrade from talking about sizes to talking about indices, so we can have static arrays with index ranges other than 1:n. (However, this wasn't exported.)
Breaking change:
similar_type
defaults toSVector
, etc - it does not preserve immutability. This helps e.g. with things likem[i, SVector(1,2,3)]
wherem::Matrix
, and should generally be beneficial for speed.
Regression:
- Optimized methods for mixed static array - standard array operations like
SMatrix * Vector
have been removed. We can add these back in, if they are popular, but until we have inlined non-isbits immutables, we shouldn't do the simple thing here and wrap them in aSizedArray
(well, we could, but it might cost more to allocate a pointer to the heap + gc, than to perform the actual operation).
StaticArrays v0.3.0
- Better, more consistent, handling of
similar_type
andsimilar
. Fixes bugs and makes it more user-friendly to define a new type. - Users need to use the
Size
trait to discuss static array size. Fixes some@pure
function problems on v0.6.
Fix #103
StaticArrays v0.2.0
Removes a long-time bad behaviour (type piracy) from the indexing code, whereby any array could be indexed with a tuple (to return an SVector
).
This is a breaking change for anyone who is doing anything like [11,12,13][(2,3)]
to create SVector(12,13)
. Use [11,12,13][SVector(2,3)]
instead.
StaticArrays v0.1.5
- Fixes for julia-0.6-dev to deal with fallout from JuliaLang/julia#265
- Indexing StaticArrays with StaticVector is now type stable
- Various additions to StaticArrays.FixedSizeArrays for compatibility
- Support for 2D cross product
StaticArrays v0.1.4
Bugfix:
- Avoid emitting Expr(:meta, :inline) in constructor macros, which caused user functions to become inline
StaticArrays v0.1.3
Minor patches:
- Remove depwarns for julia-0.6 fusing dot operators
- Fix incorrect .>> definitions for julia-0.5