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

(* $Id: dranpois.cpp 1919 2014-04-22 22:02:01Z johnoel $)

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