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

Function integer_clone_

inst/tinytest/cpp/Vector.cpp:284–290  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

282
283// [[Rcpp::export]]
284IntegerVector integer_clone_( IntegerVector vec ){
285 IntegerVector dolly = clone( vec ) ;
286 for( size_t i=0; i<10; i++){
287 dolly[i] = 10 - i ;
288 }
289 return dolly ;
290}
291
292// [[Rcpp::export]]
293NumericVector numeric_(){

Callers

nothing calls this directly

Calls 1

cloneFunction · 0.85

Tested by

no test coverage detected