normal
0.7.0, released 3 years ago by an unverified publisher
Work with the normal probability distribution in Dart
WASM-ready
What it does
A simple library for working with the normal probability distribution. Includes methods for Gaussian density, cumulative probability, quantiles, and random number generation.
AI-written summary of version 0.7.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to calculate Gaussian density or cumulative probability functions.
- You need to generate random numbers from a normal distribution.
Skip it when
- You need a comprehensive statistics or machine learning library with multiple distributions.
Strengths
- Simple and lightweight API
- No external dependencies
Weaknesses
- Limited to the normal probability distribution
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:normal/normal.dart';
void main() {
final d = Normal();
final density = d.pdf(0.0);
print(density);
}Alternatives
Packages that do the same job and could replace normal.
- random_name_generator
Generate random names and surnames based on common names in various global zones.
50Compare - week_number
Extension methods to get the week number and ordinal date from a DateTime object.
50Compare - xrandom
Consistent, high-performance, and reproducible random number generators in Dart.
48Compare