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

Function runit_RangeIndexer

inst/tinytest/cpp/sugar.cpp:649–651  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

647
648// [[Rcpp::export]]
649double runit_RangeIndexer( NumericVector x ){
650 return max( x[ seq(0, 4) ] ) ;
651}
652
653// [[Rcpp::export]]
654IntegerVector runit_self_match( CharacterVector x){

Callers

nothing calls this directly

Calls 2

seqFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected