RcppMatrixView< T > Class Template Reference

#include <Rcpp.h>

Collaboration diagram for RcppMatrixView< T >:

Collaboration graph
[legend]

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 488 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 491 of file Rcpp.h.

References RcppMatrixView< T >::d1.

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

Definition at line 492 of file Rcpp.h.

References RcppMatrixView< T >::d2.

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

Definition at line 493 of file Rcpp.h.

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


Member Data Documentation

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

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

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

Definition at line 503 of file Rcpp.h.

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


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

Generated on Tue Feb 24 20:27:01 2009 for Rcpp by  doxygen 1.5.6