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

Function prodTest

inst/tinytest/cpp/algorithm.cpp:14–16  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

12
13// [[Rcpp::export]]
14double prodTest(Rcpp::NumericVector v, int begin, int end) {
15 return Rcpp::algorithm::prod(v.begin() + (begin - 1), v.begin() + end);
16}
17
18// [[Rcpp::export]]
19double prodTest_nona(Rcpp::NumericVector v, int begin, int end) {

Callers

nothing calls this directly

Calls 2

prodFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected