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

Function sumTest_nona

inst/tinytest/cpp/algorithm.cpp:9–11  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

7
8// [[Rcpp::export]]
9double sumTest_nona(Rcpp::NumericVector v, int begin, int end) {
10 return Rcpp::algorithm::sum_nona(v.begin() + (begin - 1), v.begin() + end);
11}
12
13// [[Rcpp::export]]
14double prodTest(Rcpp::NumericVector v, int begin, int end) {

Callers

nothing calls this directly

Calls 2

sum_nonaFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected