RcppMatrixView< T > Class Template Reference

#include <RcppMatrixView.h>

List of all members.

Public Member Functions

 RcppMatrixView (SEXP mat)
int dim1 () const
int dim2 () const
int rows () const
int cols () 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 29 of file RcppMatrixView.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 56 of file RcppMatrixView.cpp.

References RcppMatrixView< T >::d2.

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

Definition at line 41 of file RcppMatrixView.cpp.

References RcppMatrixView< T >::d1.

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

Definition at line 46 of file RcppMatrixView.cpp.

References RcppMatrixView< T >::d2.

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

Definition at line 51 of file RcppMatrixView.cpp.

References RcppMatrixView< T >::d1.


Member Data Documentation

template<typename T >
T* RcppMatrixView< T >::a [private]
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 Sat Dec 19 14:01:38 2009 for Rcpp by  doxygen 1.6.1