Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
void vec_set( vec* obj, int i, double value ){
23
obj->at( i ) = value ;
24
}
25
26
void vec_resize( vec* obj, int n){ obj->resize( n ) ; }
27
void vec_push_back( vec* obj, double x ){ obj->push_back( x ); }
Callers
nothing calls this directly
Calls
1
at
Method · 0.45
Tested by
no test coverage detected