Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Apr 18:19
f76ad83

PeriodicArrays v2.0.0

Diff since v1.1.1

Breaking changes:

  • PeriodicArray type signature: {T,N,A,F} → {T,N,A,F,G} (adds imap type param G)
  • Internal field renamed from .map to .fmap; new .imap field added
  • Source split into types.jl, indexing.jl, broadcast.jl, vector_interface.jl,
    repeat.jl, circshift.jl, reverse.jl, mapped_ref.jl

New features:

  • PeriodicArray now accepts an explicit imap for setindex! (defaults to
    NegatedShiftMap(fmap) when omitted, preserving previous behaviour)
  • New MappedRef type and mapped_ref(arr, I...) for lazy mutable out-of-bounds
    element access, fixing iterated mutation (e.g. x[i][j] = v)

Merged pull requests: