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

Function vec_at

inst/tinytest/testRcppModule/src/stdVector.cpp:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50double vec_back(vec *obj){ return obj->back() ; }
51double vec_front(vec *obj){ return obj->front() ; }
52double vec_at(vec *obj, int i){ return obj->at(i) ; }
53
54RCPP_MODULE(stdVector){
55 using namespace Rcpp ;

Callers

nothing calls this directly

Calls 1

atMethod · 0.45

Tested by

no test coverage detected