ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrannegbin.cpp
Go to the documentation of this file.
1 
9 #include "fvar.hpp"
10 
15 void dvar_vector::fill_randnegbinomial(double lambda,double tau,
16  const random_number_generator& rng)
17 {
18  for (int i=indexmin(); i<=indexmax(); i++)
19  {
20  elem(i)=randnegbinomial(lambda,tau,rng);
21  }
22 }
double randnegbinomial(double mu, double tau, const random_number_generator &rng)
Description not yet available.
Definition: rannegbn.cpp:17
prevariable elem(int i)
Definition: fvar.hpp:2221
Description not yet available.
Definition: fvar.hpp:7951
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmin() const
Definition: fvar.hpp:2287
void fill_randnegbinomial(double lambda, double tau, const random_number_generator &rng)
Description not yet available.
Definition: vrannegbin.cpp:15
int indexmax() const
Definition: fvar.hpp:2292