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

Method operator()

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

Source from the content-addressed store, hash-verified

32 location(location_) , scale(scale_) {}
33
34 inline double operator()() const {
35 return location + scale * ::tan(M_PI * unif_rand()) ;
36 }
37
38private:
39 double location, scale ;

Callers

nothing calls this directly

Calls 1

unif_randFunction · 0.85

Tested by

no test coverage detected