#include <Rcpp.h>
Public Member Functions | |
RcppMatrixView (SEXP mat) | |
int | dim1 () const |
int | dim2 () const |
T | operator() (int i, int j) const |
Private Attributes | |
int | d1 |
int | d2 |
T * | a |
Definition at line 488 of file Rcpp.h.
RcppMatrixView< T >::RcppMatrixView | ( | SEXP | mat | ) | [inline] |
Definition at line 427 of file Rcpp.cpp.
References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.
int RcppMatrixView< T >::dim1 | ( | ) | const [inline] |
int RcppMatrixView< T >::dim2 | ( | ) | const [inline] |
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.
int RcppMatrixView< T >::d1 [private] |
Definition at line 502 of file Rcpp.h.
Referenced by RcppMatrixView< T >::dim1(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().
int RcppMatrixView< T >::d2 [private] |
Definition at line 502 of file Rcpp.h.
Referenced by RcppMatrixView< T >::dim2(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().
T* RcppMatrixView< T >::a [private] |
Definition at line 503 of file Rcpp.h.
Referenced by RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().