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

Method operator()

inst/include/Rcpp/stats/random/rnorm.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 mean(mean_), sd(sd_) {}
33
34 inline double operator()() const {
35 return mean + sd * ::norm_rand() ;
36 }
37
38private:
39 double mean ;

Callers

nothing calls this directly

Calls 1

norm_randFunction · 0.85

Tested by

no test coverage detected