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

Method LazyVector

inst/include/Rcpp/vector/LazyVector.h:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 typedef typename Rcpp::traits::storage_type< r_type::value >::type stored_type ;
33
34 LazyVector( const VECTOR& vec_ ) : vec(vec_), n(vec_.size()), data(n), known(n,false){}
35
36 inline stored_type operator[]( R_xlen_t i) const {
37 stored_type res ;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected