Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
private:
39
double meanlog ;
Callers
nothing calls this directly
Calls
2
norm_rand
Function · 0.85
exp
Function · 0.50
Tested by
no test coverage detected