MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / get

Method get

inst/tinytest/cpp/Module.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 ModuleRandomizer(double min_, double max_) : min(min_), max(max_) {}
104
105 NumericVector get(int n) {
106 RNGScope scope;
107 return runif(n, min, max);
108 }
109
110private:
111 double min, max;

Callers

nothing calls this directly

Calls 1

runifFunction · 0.50

Tested by

no test coverage detected