ADMB Documentation  11.6rc.3396
 All Classes Files Functions Variables Typedefs Friends Defines
dranpois.cpp File Reference

(* $Id$)

Description not yet available. More...

#include "fvar.hpp"

Go to the source code of this file.


double randpoisson (double xm, const random_number_generator &rng)
 Poisson random deviates.

Detailed Description

Description not yet available.

Definition in file dranpois.cpp.

Function Documentation

double randpoisson ( double  xm,
const random_number_generator rng 

Poisson random deviates.

xmMean of Poisson distribution
rngInstance of class random_number_generator.
Integer-valued double drawn from the Poisson distribution with given mean.

Definition at line 37 of file dranpois.cpp.

Referenced by dvector::fill_randpoisson(), dvar_vector::fill_randpoisson(), and randnegbinomial().