Skip to content

Releases: JuliaArrays/StaticArrays.jl

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

StaticArrays v0.1.3

26 Dec 02:39
Compare
Choose a tag to compare

Minor patches:

  • Remove depwarns for julia-0.6 fusing dot operators
  • Fix incorrect .>> definitions for julia-0.5