PoissonDistribution class
Poisson distribution.
- Inheritance
-
- Object
- Distribution<
int> - DiscreteDistribution<
int> - PoissonDistribution
Constructors
- PoissonDistribution({required double rate})
-
const
Properties
Methods
-
map<
R> (R f(int value), {int reverse(R value)?}) → DiscreteDistribution< R> -
Maps the distribution with the given function.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pmf(
int value) → double -
Probability mass function (PMF) tells probability of specific event.
override
-
sample(
{Random? random}) → int -
Generates a random sample.
override
-
sampleList(
int length, {Random? random}) → List< int> -
Generates a list of N random samples.
inherited
-
toDouble(
) → Distribution< double> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override