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

Method Fast

inst/include/Rcpp/Fast.h:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 typedef typename VECTOR::stored_type value_type;
30
31 Fast( /*const*/ VECTOR& v_) : v(v_), data(v_.begin()) {}
32
33 inline value_type& operator[](R_xlen_t i) { return data[i]; }
34 inline const value_type& operator[](R_xlen_t i) const { return data[i]; }

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected