I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
get GPL
COST (GBP)
this unit 1.00
sub units 0.80
+
0

CDF

viewed 2851 times and licensed 128 times
Evaluates the normal cumulative density function.
Controller: CodeCogs

get GPL add to cart

Dependents

Info

Interface

C++
HTML

CDF

 
doubleCDFdoublex
doublem
doubles )[inline]
This function evaluates the normal cumulative density function. This is also the integral of the Gaussian probability density function (PDF), integrated from minus infinity to x:
\graph  x=-2:2, m=0, s=1

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/continuous/normal/cdf.h>
using namespace std;
int main()
{
  cout << "normal CDF (0.1, 7, 2.4) = ";
  cout << Stats::Dists::Continuous::Normal::CDF(0.1, 7, 2.4) << endl;
  return 0;
}
Output:
normal CDF (0.1, 7, 2.4) = 0.00202014

Parameters

xthe argument of the cdf
mthe mean of the distribution
sthe standard deviation of the distribution

Authors

Lucian Bentea (September 2005)
Source Code

Source code is available when you agree to a GP Licence or buy a Commercial Licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.