MCPcopy 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
65private:
66 double sd ;

Callers

nothing calls this directly

Calls 1

norm_randFunction · 0.85

Tested by

no test coverage detected