Computes the cumulative binomial function. More...
#include <OpenMS/MATH/STATISTICS/CumulativeBinomial.h>
Static Public Member Functions | |
| static double | compute (Size n, Size k, double p) |
| Compute the cumulative binomial function. More... | |
Computes the cumulative binomial function.
Compute the cumulative binomial function.
Sums up ( n choose i ) * p^i * (1-p)^(n-i) for i from 0 to k.
| n,size | of theoretical spectrum |
| k,number | of matched peaks |
| p,probability | of a random match between a theoretical and an experimental peak |
| OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13 |