ContinuousDistribution class abstract
Abstract superclass for continuous distributions such as NormalDistribution.
- Inheritance
-
- Object
- Distribution<
double> - ContinuousDistribution
- Implementers
Constructors
- ContinuousDistribution()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cdf(
double x) → double - Cumulative Distribution Function (CDF).
-
map<
R> (R f(double value)) → Distribution< R> -
Maps samples of the distribution with the given function.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pdf(
double x) → double - Probability Density Function (PDF).
-
probabilityForRange(
double min, double max) → double - Calculates probability that the value is in the range.
-
sample(
{Random? random}) → double -
Generates a random sample.
inherited
-
sampleList(
int length, {Random? random}) → List< double> -
Generates a list of N random samples.
inherited
-
slice(
{double min = double.negativeInfinity, double max = double.infinity, int? attempts}) → ContinuousDistribution - Returns a slice of the distribution.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited