Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ operator()
Method
operator()
inst/include/Rcpp/stats/random/rnorm.h:61–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
NormGenerator__mean0( double sd_ = 1.0 ) : sd(sd_) {}
60
61
inline double operator()() const {
62
return sd * ::norm_rand() ;
63
}
64
65
private:
66
double sd ;
Callers
nothing calls this directly
Calls
1
norm_rand
Function · 0.85
Tested by
no test coverage detected