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

Classes | |
| class | iterator |
Public Types | |
| typedef Matrix< RTYPE > | MATRIX |
| typedef MATRIX::Proxy | Proxy |
| typedef MATRIX::Proxy | reference |
| typedef MATRIX::value_type | value_type |
Public Member Functions | |
| MatrixRow (MATRIX &object, int i) | |
| MatrixRow (const MatrixRow &other) | |
| template<int RT, bool NA, typename T > | |
| MatrixRow & | operator= (const Rcpp::VectorBase< RT, NA, T > &rhs) |
| MatrixRow & | operator= (const MatrixRow &rhs) |
| reference | operator[] (int i) |
| reference | operator[] (int i) const |
| iterator | begin () |
| iterator | end () |
| iterator | begin () const |
| iterator | end () const |
| int | size () const |
Private Member Functions | |
| int | get_parent_index (int i) const |
Private Attributes | |
| MATRIX & | parent |
| MATRIX::iterator | start |
| int | parent_nrow |
Definition at line 26 of file MatrixRow.h.
Definition at line 28 of file MatrixRow.h.
| typedef MATRIX::Proxy MatrixRow< RTYPE >::Proxy |
Definition at line 29 of file MatrixRow.h.
| typedef MATRIX::Proxy MatrixRow< RTYPE >::reference |
Definition at line 30 of file MatrixRow.h.
| typedef MATRIX::value_type MatrixRow< RTYPE >::value_type |
Definition at line 31 of file MatrixRow.h.
Definition at line 98 of file MatrixRow.h.
References Matrix< RTYPE >::nrow(), and MatrixRow< RTYPE >::parent.

Definition at line 106 of file MatrixRow.h.
Definition at line 134 of file MatrixRow.h.
Definition at line 142 of file MatrixRow.h.
Definition at line 146 of file MatrixRow.h.
References MatrixRow< RTYPE >::size().

Definition at line 138 of file MatrixRow.h.
References MatrixRow< RTYPE >::size().

| int MatrixRow< RTYPE >::get_parent_index | ( | int | i | ) | const [inline, private] |
Definition at line 159 of file MatrixRow.h.
References MatrixRow< RTYPE >::parent_nrow.
Referenced by MatrixRow< RTYPE >::operator=(), and MatrixRow< RTYPE >::operator[]().
| MatrixRow& MatrixRow< RTYPE >::operator= | ( | const Rcpp::VectorBase< RT, NA, T > & | rhs | ) | [inline] |
Definition at line 113 of file MatrixRow.h.
References MatrixRow< RTYPE >::get_parent_index(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), n, RCPP_LOOP_UNROLL_LHSFUN, MatrixRow< RTYPE >::size(), and MatrixRow< RTYPE >::start.

| MatrixRow& MatrixRow< RTYPE >::operator= | ( | const MatrixRow< RTYPE > & | rhs | ) | [inline] |
Definition at line 120 of file MatrixRow.h.
References MatrixRow< RTYPE >::get_parent_index(), n, RCPP_LOOP_UNROLL_LHSFUN, MatrixRow< RTYPE >::size(), and MatrixRow< RTYPE >::start.

Definition at line 130 of file MatrixRow.h.
References MatrixRow< RTYPE >::get_parent_index(), and MatrixRow< RTYPE >::start.

Definition at line 126 of file MatrixRow.h.
References MatrixRow< RTYPE >::get_parent_index(), and MatrixRow< RTYPE >::start.

| int MatrixRow< RTYPE >::size | ( | ) | const [inline] |
Definition at line 150 of file MatrixRow.h.
References Matrix< RTYPE >::ncol(), and MatrixRow< RTYPE >::parent.
Referenced by MatrixRow< RTYPE >::end(), and MatrixRow< RTYPE >::operator=().

Definition at line 155 of file MatrixRow.h.
Referenced by MatrixRow< RTYPE >::MatrixRow(), and MatrixRow< RTYPE >::size().
int MatrixRow< RTYPE >::parent_nrow [private] |
Definition at line 157 of file MatrixRow.h.
Referenced by MatrixRow< RTYPE >::get_parent_index().
MATRIX::iterator MatrixRow< RTYPE >::start [private] |
Definition at line 156 of file MatrixRow.h.
Referenced by MatrixRow< RTYPE >::operator=(), and MatrixRow< RTYPE >::operator[]().