#include <RcppMatrixView.h>
Public Member Functions | |
RcppMatrixView (SEXP mat) | |
int | dim1 () const |
int | dim2 () const |
int | rows () const |
int | cols () const |
T | operator() (int i, int j) const |
Private Attributes | |
int | d1 |
int | d2 |
T * | a |
Definition at line 29 of file RcppMatrixView.h.
RcppMatrixView< T >::RcppMatrixView | ( | SEXP | mat | ) | [inline] |
Definition at line 26 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.
int RcppMatrixView< T >::cols | ( | ) | const [inline] |
Definition at line 56 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::d2.
int RcppMatrixView< T >::dim1 | ( | ) | const [inline] |
Definition at line 41 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::d1.
int RcppMatrixView< T >::dim2 | ( | ) | const [inline] |
Definition at line 46 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::d2.
T RcppMatrixView< T >::operator() | ( | int | i, | |
int | j | |||
) | const [inline] |
Definition at line 61 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.
int RcppMatrixView< T >::rows | ( | ) | const [inline] |
Definition at line 51 of file RcppMatrixView.cpp.
References RcppMatrixView< T >::d1.
T* RcppMatrixView< T >::a [private] |
Definition at line 39 of file RcppMatrixView.h.
Referenced by RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().
int RcppMatrixView< T >::d1 [private] |
Definition at line 38 of file RcppMatrixView.h.
Referenced by RcppMatrixView< T >::dim1(), RcppMatrixView< T >::operator()(), RcppMatrixView< T >::RcppMatrixView(), and RcppMatrixView< T >::rows().
int RcppMatrixView< T >::d2 [private] |
Definition at line 38 of file RcppMatrixView.h.
Referenced by RcppMatrixView< T >::cols(), RcppMatrixView< T >::dim2(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().