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

Method Vector

inst/include/Rcpp/vector/Vector.h:55–58  ·  view source on GitHub ↗

* Default constructor. Creates a vector of the appropriate type * and 0 length */

Source from the content-addressed store, hash-verified

53 * and 0 length
54 */
55 Vector() {
56 Storage::set__( Rf_allocVector(RTYPE, 0 ) );
57 init() ;
58 }
59
60 /**
61 * copy constructor. shallow copy of the SEXP

Callers

nothing calls this directly

Calls 7

assignFunction · 0.85
prodMethod · 0.80
getMethod · 0.45
sizeMethod · 0.45
get_sexpMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected