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

Function vec_at

inst/tinytest/testRcppClass/src/stdVector.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31double vec_back(vec *obj){ return obj->back() ; }
32double vec_front(vec *obj){ return obj->front() ; }
33double vec_at(vec *obj, int i){ return obj->at(i) ; }
34
35RCPP_MODULE(stdVector){
36 using namespace Rcpp ;

Callers

nothing calls this directly

Calls 1

atMethod · 0.45

Tested by

no test coverage detected