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

Function runit_rt

inst/tinytest/cpp/rmath.cpp:300–306  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

298
299// [[Rcpp::export]]
300NumericVector runit_rt(double a) {
301 NumericVector o(5);
302 for(int i = 0; i < o.size(); i++) {
303 o[i] = R::rt(a);
304 }
305 return o;
306}
307
308// [[Rcpp::export]]
309NumericVector runit_rt_sugar(double a) {

Callers

nothing calls this directly

Calls 2

rtFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected