Namespaces

Types

Type ArbitraryDistribution

Namespace MathNet.Numerics.Distributions

Parent DiscreteDistribution

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()

Generate a new random number according to this distribution.
Parameters
return int

double ProbabilityMass(int x)

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

void Reset()

void SetDistributionParameters(int offset, Double[] probabilityMass)

Parameters
int offset
Double[] probabilityMass

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(int offset, Double[] probabilityMass)

Parameters
return bool
int offset
Double[] probabilityMass

Public properties

bool CanReset get;

return bool

int Count get;

Gets the number of item.
return int

int FirstIndex get;

Gets the index of the first item.
return int

int LastIndex get;

Gets the index of the last item.
return int

int Maximum get;

Gets the maximum possible value of generated random numbers.
return int

double Mean get;

Gets the mean value of generated random numbers.
return double

int Median get;

Gets the median of generated random numbers. Throws NotSupportedException since the value is not defined for this distribution.
return int

int Minimum get;

Gets the minimum possible value of generated random numbers.
return int

RandomSource RandomSource get; set;

return RandomSource

double Skewness get;

Gets the skewness of generated random numbers.
return double

double Variance get;

Gets the variance of generated random numbers.
return double