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

Function runit_rchisq

inst/tinytest/cpp/rmath.cpp:215–221  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

213
214// [[Rcpp::export]]
215NumericVector runit_rchisq(double a) {
216 NumericVector o(5);
217 for (int i = 0; i < o.size(); i++) {
218 o[i] = R::rchisq(a);
219 }
220 return o;
221}
222
223// [[Rcpp::export]]
224NumericVector runit_rchisq_sugar(double a) {

Callers

nothing calls this directly

Calls 2

rchisqFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected