Namespaces

Types

Type DiscreteDistribution

Namespace MathNet.Numerics.Distributions

Interfaces IDiscreteGenerator, IDiscreteProbabilityDistribution

Methods

Properties

Public instance methods

double CumulativeDistribution(double x)

Continuous cumulative distribution function (cdf) of this probability distribution.
Parameters
return double
double x

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

int NextInt32()

Returns a distributed integer random number.
Parameters
return int

double ProbabilityMass(int x)

Discrete probability mass function (pmf) of this probability distribution.
Parameters
return double
int x

void Reset()

Resets the random number distribution, so that it produces the same random number sequence again.

string ToString()

Parameters
return string

Public properties

bool CanReset get;

Gets a value indicating whether the random number distribution can be reset, so that it produces the same random number sequence again.
return bool

int Maximum get;

Upper limit of a random variable with this probability distribution.
return int

double Mean get;

The expected value of a random variable with this probability distribution.
return double

int Median get;

The value separating the lower half part from the upper half part of a random variable with this probability distribution.
return int

int Minimum get;

Lower limit of a random variable with this probability distribution.
return int

RandomSource RandomSource get; set;

Gets or sets a RandomSource object that can be used as underlying random number generator.
return RandomSource

double Skewness get;

Measure of the asymmetry of this probability distribution.
return double

double Variance get;

Average of the squared distances to the expected value of a random variable with this probability distribution.
return double