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

Method operator()

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

Source from the content-addressed store, hash-verified

48 meanlog(meanlog_) {}
49
50 inline double operator()() const {
51 return ::exp( meanlog + ::norm_rand() ) ;
52 }
53
54private:
55 double meanlog ;

Callers

nothing calls this directly

Calls 2

norm_randFunction · 0.85
expFunction · 0.50

Tested by

no test coverage detected