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

Function runit_dunif

inst/tinytest/cpp/rmath.cpp:63–65  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

61
62// [[Rcpp::export]]
63NumericVector runit_dunif( double x, double a, double b ){
64 return NumericVector::create(R::dunif(x, a, b, 0), R::dunif(x, a, b, 1));
65}
66
67// [[Rcpp::export]]
68NumericVector runit_punif( double x, double a, double b ){

Callers

nothing calls this directly

Calls 1

dunifFunction · 0.85

Tested by

no test coverage detected