Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ CauchyGenerator_1
Method
CauchyGenerator_1
inst/include/Rcpp/stats/random/rcauchy.h:45–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
public:
44
45
CauchyGenerator_1( double location_) :
46
location(location_){}
47
48
inline double operator()() const {
49
return location + ::tan(M_PI * unif_rand()) ;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected