|
Rcpp Version 0.9.10
|
#include <SubMatrix.h>


Public Types | |
| typedef Matrix< RTYPE > | MATRIX |
| typedef Vector< RTYPE >::iterator | vec_iterator |
| typedef MATRIX::Proxy | Proxy |
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 |
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.
| SubMatrix< RTYPE >::SubMatrix | ( | MATRIX & | m_, |
| const Range & | row_range_, | ||
| const Range & | col_range_ | ||
| ) | [inline] |
Definition at line 32 of file SubMatrix.h.
| vec_iterator SubMatrix< RTYPE >::column_iterator | ( | int | j | ) | const [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=().
| int SubMatrix< RTYPE >::ncol | ( | ) | const [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().
| int SubMatrix< RTYPE >::nrow | ( | ) | const [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.
| int SubMatrix< RTYPE >::size | ( | ) | const [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().

vec_iterator SubMatrix< RTYPE >::iter [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.
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::column_iterator(), and SubMatrix< RTYPE >::operator()().
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::ncol().
Definition at line 53 of file SubMatrix.h.
Referenced by SubMatrix< RTYPE >::nrow().