Namespaces

Types

Type IContinuousDistribution

Namespace MathNet.Numerics.Distributions

Interfaces IDistribution

The interface for continuous univariate distributions.

Methods

Properties

Public instance methods

double Density(double x)

The probability density of the distribution.
Parameters
return double the density at x.
double x The location at which to compute the density.

double DensityLn(double x)

The log probability density of the distribution.
Parameters
return double the log density at x.
double x The location at which to compute the log density.

double Sample()

Draws a random sample from the distribution.
Parameters
return double a sample from the distribution.

IEnumerable<double> Samples()

Draws a sequence of random samples from the distribution.
Parameters
return IEnumerable<double> a sequence of samples from the distribution.

Public properties

double Maximum get;

Gets the largest element in the domain of the distributions which can be represented by a double.
return double

double Median get;

Gets the median of the distribution.
return double

double Minimum get;

Gets the smallest element in the domain of the distributions which can be represented by a double.
return double

double Mode get;

Gets the mode of the distribution.
return double