Namespaces

Types

Type IDiscreteDistribution

Namespace MathNet.Numerics.Distributions

Interfaces IDistribution

The interface for discrete univariate distributions.

Methods

Properties

Public instance methods

double Probability(int k)

Computes values of the probability mass function.
Parameters
return double the probability mass at location k.
int k The location in the domain where we want to evaluate the probability mass function.

double ProbabilityLn(int k)

Computes values of the log probability mass function.
Parameters
return double the log probability mass at location k.
int k The location in the domain where we want to evaluate the log probability mass function.

Public properties

int Maximum get;

Gets the largest element in the domain of the distributions which can be represented by an integer.
return int

int Median get;

Gets the median of the distribution.
return int

int Minimum get;

Gets the smallest element in the domain of the distributions which can be represented by an integer.
return int

int Mode get;

Gets the mode of the distribution.
return int