Namespaces

Types

Type BinomialDistribution

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 bernoulli distributed 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, int numberOfTrials)

Configure all distribution parameters.
Parameters
double probabilityOfSuccess
int numberOfTrials

string ToString()

Parameters
return string

Public static methods

bool IsValidParameterSet(double probabilityOfSuccess, int numberOfTrials)

Determines whether the specified parameters is valid.
Parameters
return bool
double probabilityOfSuccess
int numberOfTrials

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

int NumberOfTrials get; set;

Gets or sets the number of trials parameter.
Call IsValidParameterSet to determine whether a value is valid and therefore assignable.
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