Rcpp Version 1.0.14
|
#include <SubMatrix.h>
Public Types | |
typedef Matrix< RTYPE > | MATRIX |
typedef Vector< RTYPE >::iterator | vec_iterator |
typedef MATRIX::Proxy | Proxy |
Public Types inherited from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > > | |
typedef traits::storage_type< RTYPE >::type | stored_type |
Public Member Functions | |
SubMatrix (MATRIX &m_, const Range &row_range_, const Range &col_range_) | |
R_xlen_t | size () const |
R_xlen_t | ncol () const |
R_xlen_t | nrow () const |
Proxy | operator() (int i, int j) const |
vec_iterator | column_iterator (int j) const |
Public Member Functions inherited from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > > | |
SubMatrix< RTYPE > & | get_ref () |
stored_type | operator() (int i, int j) const |
R_xlen_t | size () const |
R_xlen_t | nrow () const |
R_xlen_t | ncol () const |
iterator | begin () const |
iterator | end () const |
Private Attributes | |
MATRIX & | m |
vec_iterator | iter |
R_xlen_t | m_nr |
R_xlen_t | nc |
R_xlen_t | nr |
Additional Inherited Members | |
Static Public Member Functions inherited from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > > | |
static SubMatrix< RTYPE > | eye (int n) |
static SubMatrix< RTYPE > | ones (int n) |
static SubMatrix< RTYPE > | zeros (int n) |
Definition at line 27 of file SubMatrix.h.
typedef Matrix<RTYPE> Rcpp::SubMatrix< RTYPE >::MATRIX |
Definition at line 29 of file SubMatrix.h.
typedef MATRIX::Proxy Rcpp::SubMatrix< RTYPE >::Proxy |
Definition at line 31 of file SubMatrix.h.
typedef Vector<RTYPE>::iterator Rcpp::SubMatrix< RTYPE >::vec_iterator |
Definition at line 30 of file SubMatrix.h.
|
inline |
Definition at line 33 of file SubMatrix.h.
|
inline |
Definition at line 49 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::iter, and Rcpp::SubMatrix< RTYPE >::m_nr.
|
inline |
Definition at line 42 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::nc.
Referenced by Rcpp::SubMatrix< RTYPE >::size().
|
inline |
Definition at line 43 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::nr.
Referenced by Rcpp::SubMatrix< RTYPE >::size().
|
inline |
Definition at line 45 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::iter, and Rcpp::SubMatrix< RTYPE >::m_nr.
|
inline |
Definition at line 41 of file SubMatrix.h.
References Rcpp::as(), Rcpp::SubMatrix< RTYPE >::ncol(), and Rcpp::SubMatrix< RTYPE >::nrow().
|
private |
Definition at line 53 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::column_iterator(), and Rcpp::SubMatrix< RTYPE >::operator()().
|
private |
Definition at line 52 of file SubMatrix.h.
|
private |
Definition at line 54 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::column_iterator(), and Rcpp::SubMatrix< RTYPE >::operator()().
|
private |
Definition at line 54 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::ncol().
|
private |
Definition at line 54 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::nrow().