31 for (j=pmin+1;j<=pmax-1;j++)
33 tmp1(j)=tmp1(j-1)+tmp(j);
40 while (choose(i)>tmp1(j))
66 for (j=pmin+1;j<=pmax-1;j++)
68 tmp1(j)=tmp1(j-1)+tmp(j);
75 while (choose(i)>tmp1(j))
101 for (j=pmin+1;j<=pmax-1;j++)
103 tmp1(j)=tmp1(j-1)+tmp(j);
110 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.
Description not yet available.
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.