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

Function runit_rweibull

inst/tinytest/cpp/rmath.cpp:564–570  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

562
563// [[Rcpp::export]]
564NumericVector runit_rweibull(double a, double b) {
565 NumericVector o(5);
566 for(int i = 0; i < o.size(); i++) {
567 o[i] = R::rweibull(a, b);
568 }
569 return o;
570}
571
572// [[Rcpp::export]]
573NumericVector runit_rweibull_sugar(double a, double b) {

Callers

nothing calls this directly

Calls 2

rweibullFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected