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

Method LNormGenerator_1

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

Source from the content-addressed store, hash-verified

45public:
46
47 LNormGenerator_1( double meanlog_ = 0.0 ) :
48 meanlog(meanlog_) {}
49
50 inline double operator()() const {
51 return ::exp( meanlog + ::norm_rand() ) ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected