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

Function vec_set

inst/skeleton/stdVector.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void vec_set( vec* obj, int i, double value) {
42 obj->at( i ) = value;
43}
44
45void vec_resize( vec* obj, int n) { obj->resize( n ); }
46void vec_push_back( vec* obj, double x ) { obj->push_back( x ); }

Callers

nothing calls this directly

Calls 1

atMethod · 0.45

Tested by

no test coverage detected