MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / runit_rcauchy

Function runit_rcauchy

inst/tinytest/cpp/rmath.cpp:366–372  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

364
365// [[Rcpp::export]]
366NumericVector runit_rcauchy(double a, double b) {
367 NumericVector o(5);
368 for(int i = 0; i < o.size(); i++) {
369 o[i] = R::rcauchy(a, b);
370 }
371 return o;
372}
373
374// [[Rcpp::export]]
375NumericVector runit_rcauchy_sugar(double a, double b) {

Callers

nothing calls this directly

Calls 2

rcauchyFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected