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

PDF

Evaluates the hypergeometric probability density function.
Controller: CodeCogs

Interface

C++
Excel

PDF

 
doublePDFintx
inta
intb
intn )
This function evaluates the hypergeometric probability density function.

Example 1

#include <iostream>
#include <codecogs/stats/dists/discrete/hypergeometric/pdf.h>
 
int main()
{
  std::cout << "hypergeometric PDF (5, 10, 20, 8) = ";
  std::cout << Stats::Dists::Discrete::Hypergeometric::PDF(5, 10, 20, 8) << std::endl;
  return 0;
}
Ouput:
hypergeometric PDF (5, 10, 20, 8) = 0.0490832

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.