Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jul 06:44
· 190 commits to main since this release

StaticTools v0.5.0

Diff since v0.4.5

  • Refactor StaticRNGs, add Gaussian RNGs (BoxMuller,MarsagliaPolar) and randn methods for them
  • Add a stack-allocated StackArray type that mirrors the syntax and conventions of MallocArray. As with StaticString vs MallocString, the size of the stack-allocated option must be known at compile time to be StaticCompilerd (StackArray:MallocArray::StaticString:MallocString)
  • Contiguous slice-indexing of either a StackArray or a MallocArray now returns a lightweight ArrayView (similar to how slice-indexing either a StaticString or MallocString returns a StringView to avoid excessive copying
  • Add some convenience constructors for MallocArrays and StackArrays (mzeros/szeros, mones/sones, meye/seye, mfill/sfill`)

Merged pull requests: