MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / operator()

Method operator()

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

Source from the content-addressed store, hash-verified

31 ExpGenerator( double scale_ ) : scale(scale_) {}
32
33 inline double operator()() const {
34 return scale * exp_rand() ;
35 }
36
37private:
38 double scale ;

Callers

nothing calls this directly

Calls 1

exp_randFunction · 0.85

Tested by

no test coverage detected