Namespaces

Types

Type DiscreteUniformDistribution

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

Returns a uniformly distributed floating point 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()

void SetDistributionParameters(int lowerLimit, int upperLimit)

Configure all distribution parameters.
Parameters
int lowerLimit
int upperLimit

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(int lowerLimit, int upperLimit)

Determines whether the specified parameters is valid.
Parameters
return bool
int lowerLimit
int upperLimit

Public properties

bool CanReset get;

return bool

int LowerLimit get; set;

Gets or sets the lower limit parameter. To set all parameters at once consider usingSetDistributionParameters instead.
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.
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

int UpperLimit get; set;

Gets or sets the upper limit parameter. To set all parameters at once consider usingSetDistributionParameters instead.
return int

double Variance get;

Gets the variance of generated random numbers.
return double