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

Inheritance: UnivariateDiscreteDistribution
显示文件 Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

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

DistributionFunction ( int k ) : double

Gets P(X ≤ k), 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.

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 method

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

DistributionFunction() public method

Gets P(X ≤ k), 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.
return double

ProbabilityMassFunction() public method

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.
return double

ToString() public method

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string The format.
formatProvider IFormatProvider The format provider.
return string