Rcpp Version 1.0.9
|
#include <MatrixBase.h>
Public Types | |
typedef stored_type | reference |
typedef stored_type * | pointer |
typedef R_xlen_t | difference_type |
typedef stored_type | value_type |
typedef std::random_access_iterator_tag | iterator_category |
Public Member Functions | |
iterator (const MatrixBase &object_, R_xlen_t index_) | |
iterator (const iterator &other) | |
iterator & | operator++ () |
iterator | operator++ (int) |
iterator & | operator-- () |
iterator | operator-- (int) |
iterator | operator+ (difference_type n) const |
iterator | operator- (difference_type n) const |
iterator & | operator+= (difference_type n) |
iterator & | operator-= (difference_type n) |
reference | operator* () |
pointer | operator-> () |
bool | operator== (const iterator &y) const |
bool | operator!= (const iterator &y) const |
bool | operator< (const iterator &other) const |
bool | operator> (const iterator &other) const |
bool | operator<= (const iterator &other) const |
bool | operator>= (const iterator &other) const |
difference_type | operator- (const iterator &other) const |
Private Member Functions | |
void | update_index (int index_) |
R_xlen_t | index () const |
Private Attributes | |
const MatrixBase & | object |
int | i |
int | j |
int | nr |
int | nc |
Definition at line 83 of file MatrixBase.h.
typedef R_xlen_t Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::difference_type |
Definition at line 87 of file MatrixBase.h.
typedef std::random_access_iterator_tag Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::iterator_category |
Definition at line 89 of file MatrixBase.h.
typedef stored_type* Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::pointer |
Definition at line 86 of file MatrixBase.h.
typedef stored_type Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::reference |
Definition at line 85 of file MatrixBase.h.
typedef stored_type Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::value_type |
Definition at line 88 of file MatrixBase.h.
|
inline |
Definition at line 91 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-().
|
inline |
Definition at line 97 of file MatrixBase.h.
|
inlineprivate |
Definition at line 185 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator<(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator<=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator>(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator>=().
|
inline |
Definition at line 154 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j.
|
inline |
Definition at line 144 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::object.
|
inline |
Definition at line 128 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::iterator(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
|
inline |
Definition at line 100 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
|
inline |
Definition at line 108 of file MatrixBase.h.
|
inline |
Definition at line 135 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
|
inline |
Definition at line 170 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index().
|
inline |
Definition at line 131 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::iterator(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
|
inline |
Definition at line 114 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
|
inline |
Definition at line 122 of file MatrixBase.h.
|
inline |
Definition at line 139 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
|
inline |
Definition at line 147 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::object.
|
inline |
Definition at line 157 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index().
|
inline |
Definition at line 163 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index().
|
inline |
Definition at line 151 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j.
|
inline |
Definition at line 160 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index().
|
inline |
Definition at line 166 of file MatrixBase.h.
References Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index().
|
inlineprivate |
Definition at line 180 of file MatrixBase.h.
References Rcpp::internal::get_column(), Rcpp::internal::get_line(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::i, Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::j, and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::nr.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::iterator(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+=(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-=().
|
private |
Definition at line 177 of file MatrixBase.h.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator!=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator*(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator++(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator--(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator->(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator==(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
|
private |
Definition at line 177 of file MatrixBase.h.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator!=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator*(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator++(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator--(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator->(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator==(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
|
private |
Definition at line 178 of file MatrixBase.h.
|
private |
Definition at line 178 of file MatrixBase.h.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::index(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator++(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator+=(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator--(), Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator-=(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().
|
private |
Definition at line 176 of file MatrixBase.h.
Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator*(), and Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::operator->().