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

Function vec_set

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

Source from the content-addressed store, hash-verified

20}
21
22void vec_set( vec* obj, int i, double value ){
23 obj->at( i ) = value ;
24}
25
26void vec_resize( vec* obj, int n){ obj->resize( n ) ; }
27void 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