ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
dranpois.cpp File Reference

(Last Changed on April 22, 2014 for git-revision 219a09ff06fd9cee4c006dd85abbefca00beea03.)

Description not yet available. More...

#include "fvar.hpp"

Go to the source code of this file.

Functions

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

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.

Parameters
xmMean of Poisson distribution
rngInstance of class random_number_generator.
Returns
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().