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

Function vec_access_with_bounds_checking

inst/tinytest/cpp/Vector.cpp:822–824  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

820
821// [[Rcpp::export]]
822int vec_access_with_bounds_checking(const IntegerVector x, int index) {
823 return x.at(index);
824}
825
826// [[Rcpp::export]]
827String vec_print_numeric(NumericVector v) {

Callers

nothing calls this directly

Calls 1

atMethod · 0.45

Tested by

no test coverage detected