Namespaces

Types

Type GeometricDistribution

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 geometric 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(double probabilityOfSuccess)

Configure all distribution parameters.
Parameters
double probabilityOfSuccess

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(double probabilityOfSuccess)

Determines whether the specified parameters are valid.
Parameters
return bool
double probabilityOfSuccess

Public properties

bool CanReset get;

return bool

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

double ProbabilityOfSuccess get; set;

Gets or sets the success probability parameter.
return double

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