ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
dranpois.cpp File Reference

(* $Id$)

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.

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().