RcppMatrixView< T > Class Template Reference

#include <Rcpp.h>

List of all members.

Public Member Functions

 RcppMatrixView (SEXP mat)
int dim1 () const
int dim2 () const
operator() (int i, int j) const

Private Attributes

int d1
int d2
T * a


Detailed Description

template<typename T>
class RcppMatrixView< T >

Definition at line 489 of file Rcpp.h.


Constructor & Destructor Documentation

template<typename T >
RcppMatrixView< T >::RcppMatrixView ( SEXP  mat  )  [inline]


Member Function Documentation

template<typename T >
int RcppMatrixView< T >::dim1 (  )  const [inline]

Definition at line 492 of file Rcpp.h.

References RcppMatrixView< T >::d1.

template<typename T >
int RcppMatrixView< T >::dim2 (  )  const [inline]

Definition at line 493 of file Rcpp.h.

References RcppMatrixView< T >::d2.

template<typename T >
T RcppMatrixView< T >::operator() ( int  i,
int  j 
) const [inline]

Definition at line 494 of file Rcpp.h.

References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.


Member Data Documentation

template<typename T >
T* RcppMatrixView< T >::a [private]

Definition at line 504 of file Rcpp.h.

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

template<typename T >
int RcppMatrixView< T >::d1 [private]

template<typename T >
int RcppMatrixView< T >::d2 [private]


The documentation for this class was generated from the following files:

Generated on Mon Aug 3 14:41:33 2009 for Rcpp by  doxygen 1.5.9