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

Inheritance: UnivariateContinuousDistribution
Datei anzeigen 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 ( double x ) : double

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

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

FoldedNormalDistribution ( ) : System

Creates a new FoldedNormalDistribution with zero mean and unit standard deviation.

FoldedNormalDistribution ( [ mean ) : System

Creates a new FoldedNormalDistribution with the given mean and unit standard deviation.

FoldedNormalDistribution ( [ mean, [ stdDev ) : System

Creates a new FoldedNormalDistribution with the given mean and standard deviation

HalfNormal ( double stdDev ) : FoldedNormalDistribution

Creates a new Half-normal distribution with the given standard deviation. The half-normal distribution is a special case of the FoldedNormalDistribution when location is zero.

ProbabilityDensityFunction ( double x ) : double

Gets the probability density function (pdf) for this distribution evaluated at point x.

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

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
initialize ( double mu, double dev, double var ) : void

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 the cumulative distribution function (cdf) for this distribution evaluated at point x.
The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
public DistributionFunction ( double x ) : double
x double A single point in the distribution range.
return double

FoldedNormalDistribution() public method

Creates a new FoldedNormalDistribution with zero mean and unit standard deviation.
public FoldedNormalDistribution ( ) : System
return System

FoldedNormalDistribution() public method

Creates a new FoldedNormalDistribution with the given mean and unit standard deviation.
public FoldedNormalDistribution ( [ mean ) : System
mean [ /// The mean of the original normal distribution that should be folded.
return System

FoldedNormalDistribution() public method

Creates a new FoldedNormalDistribution with the given mean and standard deviation
public FoldedNormalDistribution ( [ mean, [ stdDev ) : System
mean [ /// The mean of the original normal distribution that should be folded.
stdDev [ /// The standard deviation of the original normal distribution that should be folded.
return System

HalfNormal() public static method

Creates a new Half-normal distribution with the given standard deviation. The half-normal distribution is a special case of the FoldedNormalDistribution when location is zero.
public static HalfNormal ( double stdDev ) : FoldedNormalDistribution
stdDev double /// The standard deviation of the original normal distribution that should be folded.
return FoldedNormalDistribution

ProbabilityDensityFunction() public method

Gets the probability density function (pdf) for this distribution evaluated at point x.
The Probability Density Function (PDF) describes the probability that a given value x will occur.
public ProbabilityDensityFunction ( double x ) : double
x double 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
formatProvider IFormatProvider
return string