Releases: JuliaArrays/StaticArrays.jl
v0.6.0
-
- tests + bug fixes
- make matprod inference consistent with Base
- Improve support for triangular matrices
- Implement diag() with Val as second argument (#226)
- Couple missing branches for sqrtm and solve (#227)
- Static wrappers for svdvals(), svd() and svdfact()
- LU decomposition via Base
- Fix det() return type for dimension N >= 4
- faster + better matrix inverse ( returns SMatrix up to 4x4)
- Integrate StaticArrays with julia 0.6 broadcast
- Porting SDiagonal from Bridge.jl
StaticArrays v0.5.1
read
,write
andread!
support.expm
andsqrtm
supports static matrices, with fast 1x1 and 2x2 algorithms.solve
now is faster for triangular static matrices.- Many bug fixes.
- Many more unit tests - special thank you to @kshyatt!
StaticArrays 0.5.0
This is a julia-0.6- only release.
This is a breaking release because the type parameters to StaticArray
, StaticVector
, StaticMatrix
, SArray
and MArray
changed (though not SVector
, SMatrix
, MVector
, or MMatrix
) - you will need to update your code if you name any of these types explicitly.
Breaking changes
-
Unify types so that
SVector
andSMatrix
are aliases for 1D and 2D
SArray
. To make this work, the SArray size parameter must now be passed
as a Tuple type rather than tuple instance (#127). -
Add size information to the base
StaticArray
type and type aliases, so
that, for example,StaticMatrix{2,2,T}
can be used for directly
dispatching on 2x2 matrices, without messing with the Size trait (#134)
Feature additions and fixes
- Fixes for additional fancy linear indexing (#128)
- Return
SVector
from some mixed static/abstract array operations (#131, #140) - Bring back StaticArrays.FixedSizeArrays for julia-0.6 (#138)
Bug fixes
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