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

Function runit_punif

inst/tinytest/cpp/rmath.cpp:68–71  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

66
67// [[Rcpp::export]]
68NumericVector runit_punif( double x, double a, double b ){
69 return NumericVector::create(R::punif(x, a, b, 1, 0), R::punif(log(x), a, b, 1, 1),
70 R::punif(x, a, b, 0, 0), R::punif(log(x), a, b, 0, 1));
71}
72
73// [[Rcpp::export]]
74NumericVector runit_qunif( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

punifFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected