RcppVectorView

Langue: en

Version: 278625 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

RcppVectorView -

SYNOPSIS


#include <Rcpp.h>

Public Member Functions


RcppVectorView (SEXP vec)

int size () const

T operator() (int i) const

Private Attributes


int len

T * v

Detailed Description

template<typename T> class RcppVectorView< T >

Definition at line 470 of file Rcpp.h.

Constructor & Destructor Documentation

template<typename T> RcppVectorView< T >::RcppVectorView (SEXP vec) [inline]

Definition at line 415 of file Rcpp.cpp.

References RcppVectorView< T >::len, and RcppVectorView< T >::v.

Member Function Documentation

template<typename T> int RcppVectorView< T >::size () const [inline]

Definition at line 473 of file Rcpp.h.

References RcppVectorView< T >::len.

template<typename T> T RcppVectorView< T >::operator() (int i) const [inline]

Definition at line 474 of file Rcpp.h.

References RcppVectorView< T >::len, and RcppVectorView< T >::v.

Member Data Documentation

template<typename T> int RcppVectorView< T >::len [private]

Definition at line 483 of file Rcpp.h.

Referenced by RcppVectorView< T >::operator()(), RcppVectorView< T >::RcppVectorView(), and RcppVectorView< T >::size().

template<typename T> T* RcppVectorView< T >::v [private]

Definition at line 484 of file Rcpp.h.

Referenced by RcppVectorView< T >::operator()(), and RcppVectorView< T >::RcppVectorView().

Author

Generated automatically by Doxygen for Rcpp from the source code.