#include <Rcpp.h>
Public Member Functions | |
RcppVectorView (SEXP vec) | |
int | size () const |
T | operator() (int i) const |
Private Attributes | |
int | len |
T * | v |
Definition at line 471 of file Rcpp.h.
RcppVectorView< T >::RcppVectorView | ( | SEXP | vec | ) | [inline] |
Definition at line 424 of file Rcpp.cpp.
References RcppVectorView< T >::len, and RcppVectorView< T >::v.
T RcppVectorView< T >::operator() | ( | int | i | ) | const [inline] |
Definition at line 475 of file Rcpp.h.
References RcppVectorView< T >::len, and RcppVectorView< T >::v.
int RcppVectorView< T >::size | ( | ) | const [inline] |
int RcppVectorView< T >::len [private] |
Definition at line 484 of file Rcpp.h.
Referenced by RcppVectorView< T >::operator()(), RcppVectorView< T >::RcppVectorView(), and RcppVectorView< T >::size().
T* RcppVectorView< T >::v [private] |
Definition at line 485 of file Rcpp.h.
Referenced by RcppVectorView< T >::operator()(), and RcppVectorView< T >::RcppVectorView().