Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ UnifGenerator
Method
UnifGenerator
inst/include/Rcpp/stats/random/runif.h:31–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
public:
30
31
UnifGenerator( double min_ = 0.0, double max_ = 1.0) :
32
min(min_), diff(max_ - min_) {}
33
34
inline double operator()() const {
35
double u;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected