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

Method operator()

inst/include/Rcpp/stats/random/rlogis.h:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 LogisGenerator_0() {}
65
66 inline double operator()() const {
67 double u = unif_rand() ;
68 return ::log(u / (1. - u));
69 }
70
71};
72

Callers

nothing calls this directly

Calls 2

unif_randFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected