Dist Rust
PDF, CDF, and percent-point/quantile functions for the normal and Student’s t distributions
🎉 Zero dependencies
Installation
Add this line to your application’s Cargo.toml under [dependencies]:
= "0.2"
Getting Started
Normal
use Normal;
pdf;
cdf;
ppf;
Student’s t
use StudentsT;
pdf;
cdf;
ppf;
Features
no_std- enableno_stdsupport (requires libm)
References
- Algorithm AS 241: The Percentage Points of the Normal Distribution
- Algorithm 395: Student’s t-distribution
- Algorithm 396: Student’s t-quantiles
History
View the changelog
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development: