C# Класс Accord.Statistics.Distributions.Univariate.DegenerateDistribution

Наследование: UnivariateDiscreteDistribution
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object

Creates a new object that is a copy of the current instance.

DegenerateDistribution ( ) : System

Initializes a new instance of the DegenerateDistribution class.

DegenerateDistribution ( [ value ) : System

Initializes a new instance of the DegenerateDistribution class.

DistributionFunction ( int k ) : double

Gets the cumulative distribution function (cdf) for this distribution evaluated at point k.

The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.

Fit ( double observations, double weights, IFittingOptions options ) : void

The DegenerateDistribution does not support fitting.

InverseDistributionFunction ( double p ) : int

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.

ProbabilityMassFunction ( int k ) : double

Gets the probability mass function (pmf) for this distribution evaluated at point x.

The Probability Mass Function (PMF) describes the probability that a given value x will occur.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

Описание методов

Clone() публичный Метод

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

DegenerateDistribution() публичный Метод

Initializes a new instance of the DegenerateDistribution class.
public DegenerateDistribution ( ) : System
Результат System

DegenerateDistribution() публичный Метод

Initializes a new instance of the DegenerateDistribution class.
public DegenerateDistribution ( [ value ) : System
value [ /// The only value whose probability is different from zero. Default is zero. ///
Результат System

DistributionFunction() публичный Метод

Gets the cumulative distribution function (cdf) for this distribution evaluated at point k.
The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
public DistributionFunction ( int k ) : double
k int A single point in the distribution range.
Результат double

Fit() публичный Метод

The DegenerateDistribution does not support fitting.
public Fit ( double observations, double weights, IFittingOptions options ) : void
observations double
weights double
options IFittingOptions
Результат void

InverseDistributionFunction() публичный Метод

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.
public InverseDistributionFunction ( double p ) : int
p double A probability value between 0 and 1.
Результат int

ProbabilityMassFunction() публичный Метод

Gets the probability mass function (pmf) for this distribution evaluated at point x.
The Probability Mass Function (PMF) describes the probability that a given value x will occur.
public ProbabilityMassFunction ( int k ) : double
k int A single point in the distribution range.
Результат double

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
Результат string