Skip to content

v11.0.0

Compare
Choose a tag to compare
@colgreen colgreen released this 02 Aug 14:39
  • Enabled nullable reference types (introduced as part of C#8).
  • Added Float.BoxMullerGaussian, ZigguratGaussian, DiscreteDistribution and related classes.
  • Rename MathArrayUtils to MathSpanUtils.
  • Added MathFSpanUtils; a single-precision floating-point equivalent of MathSpanUtils.
  • Deleted ArrayUtils; this is superseded by SpanUtils.
  • Fix: Base64EncodingOutputStream.Write() - incorrect offset bound check.
  • Eliminate a single branch from the ZigguratGuassian class; in synthetic benchmarks this improves performance by approx. 36%.
  • Fix: NextDoubleNonZero() could return zero (very infrequently)
  • RandomSourceBase.Next(): Use high bits as the source of entropy, as these generally exhibit high quality randomness in LCG PRNGs.
  • Removed a number of AggressiveInlining attributes where, on balance, they are not useful.
  • XorShiftRandom: Removed redundant test of maxValue.
  • Doubled sampling resolution of NextDoubleNonZero().
  • Added IRandomSource.NextFloatNonZero()