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 0.10
sub units 0.00
+
0

PDF

Evaluates the standard normal probability density function.
Controller: CodeCogs

Interface

C++

PDF

 
doublePDFdoublex )[inline]
This Evaluates the standard normal probability density function: which has the following form:

There is an error with your graph parameters for PDF with options x=-2.5:2.5

Error Message:Function PDF failed. Ensure that: Invalid C++

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/continuous/stdnormal/pdf.h>
 
int main()
{
  std::cout << "standard normal PDF (2.7) = ";
  std::cout << Stats::Dists::Continuous::StdNormal::PDF(2.7) << std::endl;
  return 0;
}
Output:
standard normal PDF (2.7) = 0.0104209

Parameters

xThe point on the curve to evaluate

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.