PoissonDistribution class Null safety

Poisson distribution.

Inheritance

Constructors

PoissonDistribution({required double rate})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
rate double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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