CDF
Evaluates the normal cumulative density function.
Controller: CodeCogs
Contents
Dependents
Interface
C++
CDF
doubleCDF( | double | x | |
double | m | ||
double | s | )[inline] |
There is an error with your graph parameters for CDF with options x=-2:2 m=0 s=1
Error Message:Function CDF failed. Ensure that: Invalid C++
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
x the argument of the cdf m the mean of the distribution s the 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.