PoissonDistribution class

Poisson distribution.

Inheritance

Constructors

PoissonDistribution({required double rate})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
rate double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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