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

Method operator()

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

Source from the content-addressed store, hash-verified

46 NormGenerator__sd1( double mean_ = 0.0 ) : mean(mean_) {}
47
48 inline double operator()() const {
49 return mean + ::norm_rand() ;
50 }
51
52private:
53 double mean ;

Callers

nothing calls this directly

Calls 1

norm_randFunction · 0.85

Tested by

no test coverage detected