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

Function runit_pcauchy

inst/tinytest/cpp/rmath.cpp:354–357  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

352
353// [[Rcpp::export]]
354NumericVector runit_pcauchy( double x, double a, double b ){
355 return NumericVector::create(R::pcauchy(x, a, b, 1, 0), R::pcauchy(log(x), a, b, 1, 1),
356 R::pcauchy(x, a, b, 0, 0), R::pcauchy(log(x), a, b, 0, 1));
357}
358
359// [[Rcpp::export]]
360NumericVector runit_qcauchy( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

pcauchyFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected