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

Function runit_rlnorm

inst/tinytest/cpp/rmath.cpp:182–188  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

180
181// [[Rcpp::export]]
182NumericVector runit_rlnorm(double a, double b) {
183 NumericVector o(5);
184 for (int i = 0; i < o.size(); i++) {
185 o[i] = R::rlnorm(a, b);
186 }
187 return o;
188}
189
190// [[Rcpp::export]]
191NumericVector runit_rlnorm_sugar(double a, double b) {

Callers

nothing calls this directly

Calls 2

rlnormFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected