RcppMatrixView< T > Class Template Reference

#include <Rcpp.h>

List of all members.

Public Member Functions

 RcppMatrixView (SEXP mat)
int dim1 () const
int dim2 () const
int rows ()
int cols ()
T 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 492 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 >::cols (  )  [inline]

Definition at line 498 of file Rcpp.h.

References RcppMatrixView< T >::d2.

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

Definition at line 495 of file Rcpp.h.

References RcppMatrixView< T >::d1.

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

Definition at line 496 of file Rcpp.h.

References RcppMatrixView< T >::d2.

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

Definition at line 499 of file Rcpp.h.

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

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

Definition at line 497 of file Rcpp.h.

References RcppMatrixView< T >::d1.


Member Data Documentation

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

Definition at line 509 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 Fri Nov 6 13:03:18 2009 for Rcpp by  doxygen 1.6.1