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

Method HyperGenerator

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

Source from the content-addressed store, hash-verified

28class HyperGenerator : public Generator<double>{
29public:
30 HyperGenerator( double nn1_, double nn2_, double kk_) :
31 nn1(nn1_), nn2(nn2_), kk(kk_){}
32 inline double operator()() const { return ::Rf_rhyper(nn1, nn2, kk) ;}
33private:
34 double nn1, nn2, kk ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected