﻿ Normal Class

# Normal Class

Normal distribution functions.
Inheritance Hierarchy
SystemObject
Accord.MathNormal

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
`public static class Normal`

The Normal type exposes the following members.

Methods
NameDescription
Bivariate
Bivariate normal cumulative distribution function.
BivariateComplemented
Complemented bivariate normal cumulative distribution function.
Complemented
Complemented cumulative distribution function.
Derivative
First derivative of Normal cumulative distribution function, also known as the Normal density function.
Function
Normal cumulative distribution function.
Gaussian
1-D Gaussian function.
Gaussian2D
2-D Gaussian function.
HighAccuracyComplemented
High-accuracy Complementary normal distribution function.
HighAccuracyFunction
High-accuracy Normal cumulative distribution function.
Inverse
Normal (Gaussian) inverse cumulative distribution function.
Kernel
1-D Gaussian kernel.
Kernel2D
2-D Gaussian kernel.
Log
Normal cumulative distribution function.
LogDerivative
Log of the first derivative of Normal cumulative distribution function, also known as the Normal density function.
Top
Remarks
References:
• Cephes Math Library, http://www.netlib.org/cephes/
• George Marsaglia, Evaluating the Normal Distribution, 2004. Available in: http://www.jstatsoft.org/v11/a05/paper
Examples

The following example shows the normal usages for the Normal functions:

```// Compute standard precision functions
double phi  = Normal.Function(0.42);     //  0.66275727315175048
double phic = Normal.Complemented(0.42); //  0.33724272684824952
double inv  = Normal.Inverse(0.42);      // -0.20189347914185085

// Compute at the limits
double phi  = Normal.Function(16.6);     //  1.0
double phic = Normal.Complemented(16.6); //  3.4845465199504055E-62```