C# Class Accord.Statistics.Distributions.Univariate.DegenerateDistribution

Inheritance: UnivariateDiscreteDistribution
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Résultat object

DegenerateDistribution() public méthode

Initializes a new instance of the DegenerateDistribution class.
public DegenerateDistribution ( ) : System
Résultat System

DegenerateDistribution() public méthode

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. ///
Résultat System

DistributionFunction() public méthode

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.
Résultat double

Fit() public méthode

The DegenerateDistribution does not support fitting.
public Fit ( double observations, double weights, IFittingOptions options ) : void
observations double
weights double
options IFittingOptions
Résultat void

InverseDistributionFunction() public méthode

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.
Résultat int

ProbabilityMassFunction() public méthode

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.
Résultat double

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
Résultat string