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

Function runit_qunif

inst/tinytest/cpp/rmath.cpp:74–77  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

72
73// [[Rcpp::export]]
74NumericVector runit_qunif( double x, double a, double b ){
75 return NumericVector::create(R::qunif(x, a, b, 1, 0), R::qunif(log(x), a, b, 1, 1),
76 R::qunif(x, a, b, 0, 0), R::qunif(log(x), a, b, 0, 1));
77}
78
79// [[Rcpp::export]]
80NumericVector runit_runif( double a, double b ){

Callers

nothing calls this directly

Calls 2

qunifFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected