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

Method ExpGenerator

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

Source from the content-addressed store, hash-verified

29public:
30
31 ExpGenerator( double scale_ ) : scale(scale_) {}
32
33 inline double operator()() const {
34 return scale * exp_rand() ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected