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

Function runit_rgeom

inst/tinytest/cpp/rmath.cpp:432–438  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

430
431// [[Rcpp::export]]
432NumericVector runit_rgeom(double a) {
433 NumericVector o(5);
434 for (int i = 0; i < o.size(); i++) {
435 o[i] = R::rgeom(a);
436 }
437 return o;
438}
439
440// [[Rcpp::export]]
441NumericVector runit_rgeom_sugar(double a) {

Callers

nothing calls this directly

Calls 2

rgeomFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected