#include <Rcpp.h>
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 |
Definition at line 492 of file Rcpp.h.
RcppMatrixView< T >::RcppMatrixView | ( | SEXP | mat | ) | [inline] |
Definition at line 436 of file Rcpp.cpp.
References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.
int RcppMatrixView< T >::cols | ( | ) | [inline] |
Definition at line 498 of file Rcpp.h.
References RcppMatrixView< T >::d2.
int RcppMatrixView< T >::dim1 | ( | ) | const [inline] |
Definition at line 495 of file Rcpp.h.
References RcppMatrixView< T >::d1.
int RcppMatrixView< T >::dim2 | ( | ) | const [inline] |
Definition at line 496 of file Rcpp.h.
References RcppMatrixView< T >::d2.
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.
int RcppMatrixView< T >::rows | ( | ) | [inline] |
Definition at line 497 of file Rcpp.h.
References RcppMatrixView< T >::d1.
T* RcppMatrixView< T >::a [private] |
Definition at line 509 of file Rcpp.h.
Referenced by RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().
int RcppMatrixView< T >::d1 [private] |
Definition at line 508 of file Rcpp.h.
Referenced by RcppMatrixView< T >::dim1(), RcppMatrixView< T >::operator()(), RcppMatrixView< T >::RcppMatrixView(), and RcppMatrixView< T >::rows().
int RcppMatrixView< T >::d2 [private] |
Definition at line 508 of file Rcpp.h.
Referenced by RcppMatrixView< T >::cols(), RcppMatrixView< T >::dim2(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().