Rcpp Version 1.0.9
|
#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 |
int | ncol () const |
int | 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 |
int | m_nr |
int | nc |
int | 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 28 of file SubMatrix.h.
typedef Matrix<RTYPE> Rcpp::SubMatrix< RTYPE >::MATRIX |
Definition at line 30 of file SubMatrix.h.
typedef MATRIX::Proxy Rcpp::SubMatrix< RTYPE >::Proxy |
Definition at line 32 of file SubMatrix.h.
typedef Vector<RTYPE>::iterator Rcpp::SubMatrix< RTYPE >::vec_iterator |
Definition at line 31 of file SubMatrix.h.
|
inline |
Definition at line 34 of file SubMatrix.h.
|
inline |
Definition at line 50 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::iter, and Rcpp::SubMatrix< RTYPE >::m_nr.
Referenced by Rcpp::Matrix< RTYPE, StoragePolicy >::Matrix(), and Rcpp::Matrix< RTYPE, StoragePolicy >::operator=().
|
inline |
Definition at line 43 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::nc.
Referenced by Rcpp::Matrix< RTYPE, StoragePolicy >::Matrix(), Rcpp::Matrix< RTYPE, StoragePolicy >::operator=(), and Rcpp::SubMatrix< RTYPE >::size().
|
inline |
Definition at line 44 of file SubMatrix.h.
References Rcpp::SubMatrix< RTYPE >::nr.
Referenced by Rcpp::Matrix< RTYPE, StoragePolicy >::operator=(), and Rcpp::SubMatrix< RTYPE >::size().
|
inline |
Definition at line 46 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 >::ncol(), and Rcpp::SubMatrix< RTYPE >::nrow().
|
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 53 of file SubMatrix.h.
|
private |
Definition at line 55 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::column_iterator(), and Rcpp::SubMatrix< RTYPE >::operator()().
|
private |
Definition at line 55 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::ncol().
|
private |
Definition at line 55 of file SubMatrix.h.
Referenced by Rcpp::SubMatrix< RTYPE >::nrow().