29 for (
int j=pmin+1;j<=pmax-1;j++)
31 tmp1(j)=tmp1(j-1)+tmp(j);
38 while (choose(i)>tmp1(j))
62 for (
int j=pmin+1;j<=pmax-1;j++)
64 tmp1(j)=tmp1(j-1)+tmp(j);
71 while (choose(i)>tmp1(j))
95 for (
int j=pmin+1;j<=pmax-1;j++)
97 tmp1(j)=tmp1(j-1)+tmp(j);
104 while (choose(i)>tmp1(j))
void fill_multinomial(const int &seed, const dvector &p)
Description not yet available.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void fill_multinomial(const int &seed, const dvector &p)
Description not yet available.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void fill_randu(long int &n)
Fill vector with random numbers.
double mean(const dvector &vec)
Returns computed mean of vec.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
unsigned int size() const
Get number of elements in array.
void fill_multinomial(const int &seed, const dvector &p)
Description not yet available.