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

Method operator()

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

Source from the content-addressed store, hash-verified

46 location(location_){}
47
48 inline double operator()() const {
49 return location + ::tan(M_PI * unif_rand()) ;
50 }
51
52private:
53 double location ;

Callers

nothing calls this directly

Calls 1

unif_randFunction · 0.85

Tested by

no test coverage detected