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

Method operator()

inst/include/Rcpp/stats/random/rlnorm.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 meanlog(meanlog_), sdlog(sdlog_) {}
33
34 inline double operator()() const {
35 return ::exp( meanlog + sdlog * ::norm_rand() ) ;
36 }
37
38private:
39 double meanlog ;

Callers

nothing calls this directly

Calls 2

norm_randFunction · 0.85
expFunction · 0.50

Tested by

no test coverage detected