Releases: JuliaArrays/ShiftedArrays.jl
Releases · JuliaArrays/ShiftedArrays.jl
v2.0.0
Breaking changes
- Indexing out of bounds now gives a
BoundsError
(instead of returning the default value forShiftedArray
or the circularly shifted value forCircShiftedArray
). lag
andlead
are no longer exported (but still public API).- Calling
ShiftedArray(v::ShiftedArray, n)
orCircShiftedArray(v::CircShiftedArray, n)
does not nest but rather combines the shifts additively.
v1.0.0
Breaking changes
- Removed special
reduce, reduce_vec, mapreduce, mapreduce_vec
methods - Removed
to_array, to_offsetarray
methods - Removed OffsetArrays, RecursiveArrayTools dependencies
v0.5.1
Updated dependencies:
- Support for OffsetArrays v0.11
- Support for RecursiveArrayTools v1
v0.5.0
v0.4.0
v0.3.3
v0.3.2
v0.3.1
v0.3.0
Breaking changes
- Removed the
dim
keyword: instead of e.g.lag(v, 3, dim = 2)
writelag(v, (0, 3))
(in agreement withcircshift
from Julia Base) - Changed direction of shifting for
ShiftedArray
andCircShiftedArray
constructors. For exampleCircShiftedArray(v, n)
with a positiven
shifts to the right (in agreement withcircshift(v, n)
from Julia Base).
New features
CircShiftedArray
type to shift arrays circularly.- A lazy version of
circshift
:ShiftedArray.circshift