CDF
Evaluates the hypergeometric cumulative density function.
Controller: CodeCogs
Contents
Interface
C++
CDF
doubleCDF( | int | x | |
int | a | ||
int | b | ||
int | n | ) |
There is an error with your graph parameters for CDF with options x=1:8:8 a=17 b=9 n=8
Error Message:Function CDF failed. Ensure that: Invalid C++
Example 1
#include <iostream> #include <codecogs/statistics/distributions/discrete/hypergeometric/cdf.h> int main() { std::cout << "hypergeometric CDF (6, 17, 9, 8) = "; std::cout << Stats::Dists::Discrete::Hypergeometric::CDF(6, 17, 9, 8) << std::endl; return 0; }
Output:hypergeometric CDF (6, 17, 9, 8) = 0.872403
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.