Skip to content

Releases: JuliaArrays/StaticArrays.jl

v0.6.0

10 Jul 23:10
Compare
Choose a tag to compare
    • 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

06 Jun 07:00
Compare
Choose a tag to compare
  • read, write and read! support.
  • expm and sqrtm 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

25 Apr 09:58
Compare
Choose a tag to compare

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 and SMatrix 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

  • Indexing with zero sized arrays (#124)
  • Type inference workaround for index_sizes (#139)
  • Fix concatenation of arrays of FieldVector (#146)
  • Fix for fancy indexing with a single SMatrix (#148)

StaticArrays v0.3.1

20 Apr 23:31
Compare
Choose a tag to compare

Fixed a bug where similar_type was skipped by matrix multiplication.

StaticArrays v0.4.0

25 Mar 21:36
Compare
Choose a tag to compare

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 and map! 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 to SVector, etc - it does not preserve immutability. This helps e.g. with things like m[i, SVector(1,2,3)] where m::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 a SizedArray (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

22 Feb 00:18
Compare
Choose a tag to compare
  • Better, more consistent, handling of similar_type and similar. 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

13 Feb 22:34
Compare
Choose a tag to compare

StaticArrays v0.2.0

13 Feb 05:00
Compare
Choose a tag to compare

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

13 Feb 00:49
Compare
Choose a tag to compare
  • 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

23 Jan 06:46
Compare
Choose a tag to compare

Bugfix:

  • Avoid emitting Expr(:meta, :inline) in constructor macros, which caused user functions to become inline