MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / PoissonGenerator

Method PoissonGenerator

inst/include/Rcpp/stats/random/rpois.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28class PoissonGenerator : public Generator<double>{
29public:
30 PoissonGenerator( double mu_ ) : mu(mu_){}
31 inline double operator()() const { return ::Rf_rpois(mu); }
32private:
33 double mu ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected