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

Method BinomGenerator

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

Source from the content-addressed store, hash-verified

28class BinomGenerator : public Generator<double>{
29public:
30 BinomGenerator( double nin_, double pp_ ) : nin(nin_), pp(pp_){}
31 inline double operator()() const{
32 return ::Rf_rbinom( nin, pp ) ;
33 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected