|
Rcpp Version 0.10.3
|
#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_) | |
| int | 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 () |
| iterator | begin () const |
| iterator | end () const |
Private Attributes | |
| MATRIX & | m |
| vec_iterator | iter |
| int | m_nr |
| int | nc |
| int | nr |
Definition at line 26 of file SubMatrix.h.
Definition at line 28 of file SubMatrix.h.
| typedef MATRIX::Proxy SubMatrix< RTYPE >::Proxy |
Definition at line 30 of file SubMatrix.h.
| typedef Vector<RTYPE>::iterator SubMatrix< RTYPE >::vec_iterator |
Definition at line 29 of file SubMatrix.h.
|
inline |
Definition at line 32 of file SubMatrix.h.
|
inline |
Definition at line 48 of file SubMatrix.h.
References SubMatrix< RTYPE >::iter, and SubMatrix< RTYPE >::m_nr.
Referenced by Matrix< RTYPE >::Matrix(), and Matrix< RTYPE >::operator=().
|
inline |
Reimplemented from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > >.
Definition at line 41 of file SubMatrix.h.
References SubMatrix< RTYPE >::nc.
Referenced by Matrix< RTYPE >::Matrix(), Matrix< RTYPE >::operator=(), and SubMatrix< RTYPE >::size().
|
inline |
Reimplemented from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > >.
Definition at line 42 of file SubMatrix.h.
References SubMatrix< RTYPE >::nr.
Referenced by Matrix< RTYPE >::operator=(), and SubMatrix< RTYPE >::size().
Reimplemented from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > >.
Definition at line 44 of file SubMatrix.h.
References SubMatrix< RTYPE >::iter, and SubMatrix< RTYPE >::m_nr.
|
inline |
Reimplemented from Rcpp::MatrixBase< RTYPE, true, SubMatrix< RTYPE > >.
Definition at line 40 of file SubMatrix.h.
References SubMatrix< RTYPE >::ncol(), and SubMatrix< RTYPE >::nrow().

|
private |
Definition at line 52 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::column_iterator(), and SubMatrix< RTYPE >::operator()().
Definition at line 51 of file SubMatrix.h.
|
private |
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::column_iterator(), and SubMatrix< RTYPE >::operator()().
|
private |
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::ncol().
|
private |
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::nrow().