All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Bump
rand
to v0.8.0 - New
Geometric
,StandardGeometric
andHypergeometric
distributions (#1062) - New
Beta
sampling algorithm for improved performance and accuracy (#1000) Normal
andLogNormal
now supportfrom_mean_cv
andfrom_zscore
(#1044)- Variants of
NormalError
changed (#1044)
- Move alias method for
WeightedIndex
fromrand
(#945) - Rename
WeightedIndex
toWeightedAliasIndex
(#1008) - Replace custom
Float
trait withnum-traits::Float
(#987) - Enable
no_std
support vianum-traits
math functions (#987) - Remove
Distribution<u64>
impl forPoisson
(#987) - Tweak
Dirichlet
andalias_method
to use boxed slice instead ofVec
(#987) - Use whitelist for package contents, reducing size by 5kb (#983)
- Add case
lambda = 0
in the parametrization ofExp
(#972) - Implement inverse Gaussian distribution (#954)
- Reformatting and use of
rustfmt::skip
(#926) - All error types now implement
std::error::Error
(#919) - Re-exported
rand::distributions::BernoulliError
(#919) - Add value stability tests for distributions (#891)
- Fix version requirement on rand lib (#847)
- Clippy fixes & suppression (#840)
- Update dependency to support Rand 0.7
- Doc link fixes
- Remove
new
constructors for zero-sized types - Add Pert distribution
- Fix undefined behavior in
Poisson
- Make all distributions return
Result
s instead of panicking - Implement
f32
support for most distributions - Rename
UnitSphereSurface
toUnitSphere
- Implement
UnitBall
andUnitDisc
Initial release. This is equivalent to the code in rand
0.6.5.