Click or drag to resize

Normal Class

Continuous Univariate Normal distribution, also known as Gaussian distribution. For details about this distribution, see Wikipedia - Normal distribution.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.DistributionsNormal

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Normal : IContinuousDistribution, IUnivariateDistribution, 
	IDistribution

The Normal type exposes the following members.

Constructors
 NameDescription
Public methodNormal Initializes a new instance of the Normal class. This is a normal distribution with mean 0.0 and standard deviation 1.0. The distribution will be initialized with the default random number generator.
Public methodNormal(Random) Initializes a new instance of the Normal class. This is a normal distribution with mean 0.0 and standard deviation 1.0. The distribution will be initialized with the default random number generator.
Public methodNormal(Double, Double) Initializes a new instance of the Normal class with a particular mean and standard deviation. The distribution will be initialized with the default random number generator.
Public methodNormal(Double, Double, Random) Initializes a new instance of the Normal class with a particular mean and standard deviation. The distribution will be initialized with the default random number generator.
Top
Properties
 NameDescription
Public propertyEntropy Gets the entropy of the normal distribution.
Public propertyMaximum Gets the maximum of the normal distribution.
Public propertyMean Gets the mean (μ) of the normal distribution.
Public propertyMedian Gets the median of the normal distribution.
Public propertyMinimum Gets the minimum of the normal distribution.
Public propertyMode Gets the mode of the normal distribution.
Public propertyPrecision Gets the precision of the normal distribution.
Public propertyRandomSource Gets the random number generator which is used to draw random samples.
Public propertySkewness Gets the skewness of the normal distribution.
Public propertyStdDev Gets the standard deviation (σ) of the normal distribution. Range: σ ≥ 0.
Public propertyVariance Gets the variance of the normal distribution.
Top
Methods
 NameDescription
Public methodStatic memberCDF Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
Public methodCumulativeDistribution Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
Public methodDensity Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x.
Public methodDensityLn Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x).
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberEstimate Estimates the normal distribution parameters from sample data with maximum-likelihood.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberInvCDF Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function.
Public methodInverseCumulativeDistribution Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function.
Public methodStatic memberIsValidParameterSet Tests whether the provided values are valid parameters for this distribution.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberPDF Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x.
Public methodStatic memberPDFLn Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x).
Public methodSample Generates a sample from the normal distribution using the Box-Muller algorithm.
Public methodStatic memberSample(Double, Double) Generates a sample from the normal distribution using the Box-Muller algorithm.
Public methodStatic memberSample(Random, Double, Double) Generates a sample from the normal distribution using the Box-Muller algorithm.
Public methodSamples Generates a sequence of samples from the normal distribution using the Box-Muller algorithm.
Public methodSamples(Double) Fills an array with samples generated from the distribution.
Public methodStatic memberSamples(Double, Double) Generates a sequence of samples from the normal distribution using the Box-Muller algorithm.
Public methodStatic memberSamples(Double, Double, Double) Fills an array with samples generated from the distribution.
Public methodStatic memberSamples(Random, Double, Double) Generates a sequence of samples from the normal distribution using the Box-Muller algorithm.
Public methodStatic memberSamples(Random, Double, Double, Double) Fills an array with samples generated from the distribution.
Public methodToString A string representation of the distribution.
(Overrides ObjectToString)
Public methodStatic memberWithMeanPrecision Constructs a normal distribution from a mean and precision.
Public methodStatic memberWithMeanStdDev Constructs a normal distribution from a mean and standard deviation.
Public methodStatic memberWithMeanVariance Constructs a normal distribution from a mean and variance.
Top
See Also