Bsoft  2.1.0
Bernard's software package
binomial.h
Go to the documentation of this file.
1 
10 // Function prototypes
11 double Bnpk(int n, double p, int k, double w);
12 double binomial_fit(vector<double>& distrib, int n, int nfit, vector<double>& coeff);
13 
Bnpk
double Bnpk(int n, double p, int k, double w)
Calculates the probability of k occurrences in n cases.
Definition: binomial.cpp:28
binomial_fit
double binomial_fit(vector< double > &distrib, int n, int nfit, vector< double > &coeff)
Fits a distribution to one or more binomial distributions.
Definition: binomial.cpp:89