Namespaces

Types

Type ErlangDistribution

Namespace MathNet.Numerics.Distributions

Parent ContinuousDistribution

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

double NextDouble()

Returns a erlang distributed floating point random number.
Parameters
return double

double ProbabilityDensity(double x)

Continuous probability density function (pdf) of this probability distribution.
Parameters
return double
double x

void Reset()

void SetDistributionParameters(int shape, double rate)

Configure all distribution parameters.
Parameters
int shape
double rate

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(int shape, double rate)

Determines whether the specified parameters is valid.
Parameters
return bool
int shape
double rate

Public properties

bool CanReset get;

return bool

double Maximum get;

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

double Mean get;

Gets the mean value of generated random numbers.
return double

double Median get;

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

double Minimum get;

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

RandomSource RandomSource get; set;

return RandomSource

double Rate get; set;

Gets or sets the rate lambda parameter.
return double

int Shape get; set;

Gets or sets the shape k parameter.
return int

double Skewness get;

Gets the skewness of generated random numbers.
return double

double Variance get;

Gets the variance of generated random numbers.
return double