Namespaces

Types

Type TriangularDistribution

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 triangular 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(double lowerLimit, double upperLimit, double center)

Configure all distribution parameters.
Parameters
double lowerLimit
double upperLimit
double center

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(double lowerLimit, double upperLimit, double center)

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

Public properties

bool CanReset get;

return bool

double Center get; set;

Gets or sets the center parameter. To set all parameters at once consider usingSetDistributionParameters instead.
return double

double LowerLimit get; set;

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

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.
return double

double Minimum get;

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

RandomSource RandomSource get; set;

return RandomSource

double Skewness get;

Gets the skewness of generated random numbers.
return double

double UpperLimit get; set;

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

double Variance get;

Gets the variance of generated random numbers.
return double