v0.12.0
v0.12.0 (2019-11-02)
This is a large release containing many small fixes and improvements as well
as a small number of new features and a few minor deprecations.
Notable new features
SA[...] syntax for
SArray` literals (#633, #656)FieldArray
: a generalisation ofFieldVector
to arbitrary dimensions (#626)
Deprecations
- Deprecate use of
Size
trait asSizedArray
constructor (#669) - Deprecate
x::Number + a::StaticArray
(#627) - Deprecate use of SizedArray in reshaping the parent array (#666)
The detail
Merged pull requests:
- Remove allocations with
norm(x, p)
(#679) (c42f) - Enable CI with julia-1.3 (#677) (c42f)
- Allow CI for release branches (#676) (c42f)
- Avoid calling promote_tuple_eltype in generated function to fix issue (#671) (andreasnoack)
- RFC: Deprecate calling of Size to get SizedArray (#669) (c42f)
- document a common idiom of building SArrays iteratively (#668) (tpapp)
- minor typo fixes and typesetting changes (#667) (tpapp)
- Conversion of SizedArray to Array reshapes (#666) (mateuszbaran)
- Remove some spurious
where T
from SA constructors (#665) (c42f) - Avoid eltype degrading to
Union{}
for empty map/broadcast (#664) (c42f) - Broadcasting with tuples (fixes #485) (#663) (mateuszbaran)
- fix for issue #641 (#662) (mateuszbaran)
- [WIP] faster reductions (#659) (mateuszbaran)
- Base.strides methods for statically sized arrays (#658) (mateuszbaran)
- [WIP] Nested views with static indexing (#657) (mateuszbaran)
- SA type aliases for constructors with precise eltype (#656) (c42f)
- Update traits.jl (#654) (raminammour)
- Fix eltype in empty static array construction (#652) (c42f)
- Fix default error message for getindex(::StaticArray, ::Int) (#648) (TheBB)
- add
in
method (#646) (stev47) - get rid of PkgEval badges (#645) (KristofferC)
- Enable linear indexing with multidimensional index (#644) (TheBB)
- Simplify broadcast code generation (#643) (TheBB)
- Fix type piracy in test/qr.jl, fixes #437 (#640) (denius)
- Add docstrings for push, pop, pushfirst, popfirst, insert, deleteat (#639) (garrison)
- Remove doc reference to outdated shift/unshift functions (#638) (garrison)
- WIP/RFC: Implement SA[...] syntax for SArray literals (#633) (c42f)
- Deprecate ::Scalar +/- :StaticArray, fixes #627. (#632) (fredrikekre)
- fix #629 (#630) (simeonschaub)
- Add FieldMatrix: a rank-two tensor generalisation of FieldVector (#626) (CFBaptista)
- Faster similar for SizedArray (#625) (mateuszbaran)
- Avoid division by 0 in 2x2 complex exp (#624) (sethaxen)
- Fix building of documentation. (#622) (fredrikekre)
- Fix docs for reinterpret (#619) (c42f)
- Change SOneTo indexing and support \ for svd(M; full=true) (#618) (timholy)
- [WIP] README updates for 0.7 (#467) (schmrlng)
Closed issues:
(We did a big issue cleanup in this release, so some of these were just stale, but were closed in this release cycle.)
norm(x::SVector, Inf)
allocates (#678)- method ambiguity in
reduce\(::typeof\(vcat\), ::SVector\)
(#674) - Releases 0.11.1 (#673)
- Performance of Matrix Division (#582)
- static sparse array (#660)
- static arrays of heterogeneous types (#653)
- Type Stability of Constructor (#651)
- Bounds checking in dot (#650)
- Broadcast operations resulting in Scalars fail (#642)
- reduce(op, a::StaticArray) is ambiguous (#641)
- SArray initialization does not terminate (#637)
dot
could be faster forSArray
s (#629)- Deprecate ::Number +/- ::StaticArray ? (#627)
- 2x2 complex exponential of zeros matrix is undefined (#623)
- example in docs for reinterpret not working (#621)
- New Release 0.11.0 (#616)
- expm is allocating (#578)
- SVector type signature is reversed compared to Base array constructors (#577)
- Mixed static and dynamic dimensions (#573)
- MArray is slower than Array in reduction (#540)
- Adding n x 0 matrices results in Union{} eltype (#528)
- Incorrect promotion behavior of MVectors? (#516)
- Error with
diagonal \ static\_row
(#504) - reinterpret of Arrays of static arrays failed (#501)
- Mutating fields of immutables (#490)
- problem with StaticArrays and \ (#487)
- missing SMatrix \ Vector method (#486)
- broadcasting of Tuples and SVectors is broken (#485)
- Add Vector/Matrix/Array constructors that match Base (#481)
- Type instability when all the parameters of
SMatrix
are not declared in a structure (#475) - Introduce a
Point
type? (#469) - Matrix multiplication slower in 0.7 (#462)
- norm(matrix) -> opnorm(matrix) in Julia 0.7 (#447)
- Use new 0.7 interface for QR and co? (#445)
- Don't commit type piracy in test/qr.jl (#437)
- Some linalg.jl generated functions return values, not expressions, in some cases (#435)
- Error returning eltype of SMatrix (#423)
- Type changes from MArray to SArray upon using broadcast (vectorization) (#403)
- Getting
Union
eltype for length-0 array conversion (#396) @SVector
rand and randn don't work with rng argument (#391)- floor, ceil, round called with (::Type{T}, ::SArray) return SArray of Any (#390)
- Adding "algebraic expansions" ? (#351)
- ERROR: MethodError: no method matching result_style(::Type{StaticArray}) (#347)
- work with ArrayViews (#333)
- Provide a more basic example (#304)
- show methods cause unhandled exception errors on master (#283)
- Unary and binary operators on SArray do not return SArray in Julia 0.7 (#272)
- Give a meaningful error message for
convert\(SVector,::Vector\)
orSVector\(::Vector\)
(#259) - Feature request: Allow syntax
@SVector
2:N-1 (#223) - Return
UpperTriangular
fromchol
(#194) - Change in subtyping for
StaticVector
from Julia 0.5 to 0.6 (#152) - C error leaking into StaticArrays code (#117)
- Automatic functionality a la FixedSizeArrays (#114)
- Missing convert method to facilitate initialisation of fields of type SArray (#110)
- Storing tuples in StaticArrays (#93)
- Incorrect element type with .^ after importing Gadfly (#78)
- Implement LU matrix factorization (#73)
- Implement Singular Value Decomposition (#72)
- slow construction and a big memory allocation overhead (#40)
- Unified, efficient code for mutable and immutable AbstractArrays (#32)
inv
,det
, etc. with SMatrix{2,2,T<:Unsigned} (#29)- Allow
@SVector
comprehension to eval range with locals? (#26) - Naming for small vectors (#24)