22#ifndef Rcpp__vector__MatrixRow_h
23#define Rcpp__vector__MatrixRow_h
48 typedef typename std::iterator_traits<vector_iterator>::pointer
pointer;
58 typedef typename std::iterator_traits<vector_iterator>::pointer
pointer;
61 template<
typename TRAITS >
69 typedef typename TRAITS::pointer
pointer ;
140 const char*
fmt =
"Row index is out of bounds: "
141 "[index=%i; row extent=%i].";
153 template <
int RT,
bool NA,
typename T>
229 typedef typename std::iterator_traits<vector_iterator>::pointer
pointer ;
299 const char*
fmt =
"Row index is out of bounds: "
300 "[index=%i; row extent=%i].";
bool operator>=(const const_iterator &other)
traits::r_vector_const_proxy< RTYPE >::type reference
const reference operator*()
const_iterator & operator--()
const_iterator & operator-=(difference_type n)
difference_type operator-(const const_iterator &other)
bool operator>(const const_iterator &other)
const_iterator operator+(difference_type n) const
const reference operator[](int i) const
const_iterator operator++(int)
const_iterator operator--(int)
const_iterator(const const_iterator &other)
const pointer operator->()
traits::r_vector_const_proxy< RTYPE >::type value_type
bool operator==(const const_iterator &other)
std::random_access_iterator_tag iterator_category
bool operator!=(const const_iterator &other)
bool operator<(const const_iterator &other)
difference_type operator-(const const_iterator &other) const
const_iterator operator-(difference_type n) const
const_iterator & operator++()
bool operator<=(const const_iterator &other)
const_iterator(const ConstMatrixRow &row_, int index_)
std::iterator_traits< vector_iterator >::pointer pointer
const ConstMatrixRow & row
const_iterator & operator+=(difference_type n)
traits::r_vector_iterator< RTYPE >::type vector_iterator
MATRIX::value_type value_type
MATRIX::const_Proxy const_reference
const_iterator begin() const
ConstMatrixRow(const MATRIX &object, int i)
const_reference operator[](int i) const
MATRIX::const_iterator start
const_iterator end() const
R_xlen_t get_parent_index(int i) const
ConstMatrixRow(const ConstMatrixRow &other)
bool operator==(const iter_base &other)
reference operator[](int i) const
iter_base(const iter_base &other)
TRAITS::vector_iterator vector_iterator
iter_base operator+(difference_type n) const
std::random_access_iterator_tag iterator_category
bool operator>=(const iter_base &other)
iter_base & operator+=(difference_type n)
TRAITS::reference reference
iter_base(MatrixRow &row_, int index_)
TRAITS::value_type value_type
iter_base & operator-=(difference_type n)
iter_base operator++(int)
difference_type operator-(const iter_base &other) const
TRAITS::difference_type difference_type
bool operator!=(const iter_base &other)
bool operator<=(const iter_base &other)
bool operator<(const iter_base &other)
bool operator>(const iter_base &other)
iter_base operator--(int)
difference_type operator-(const iter_base &other)
iter_base operator-(difference_type n) const
const_iterator begin() const
MATRIX::value_type value_type
MatrixRow & operator=(const Rcpp::VectorBase< RT, NA, T > &rhs)
iter_base< iter_traits > iterator
MatrixRow(MATRIX &object, int i)
const_iterator cbegin() const
const_iterator cend() const
MatrixRow & operator=(const MatrixRow &rhs)
reference operator[](int i)
MatrixRow(const MatrixRow &other)
R_xlen_t get_parent_index(int i) const
iter_base< const_iter_traits > const_iterator
const_iterator end() const
reference operator[](int i) const
MATRIX::const_Proxy const_reference
VECTOR::const_iterator const_iterator
VECTOR::const_Proxy const_Proxy
VECTOR::iterator iterator
traits::r_vector_proxy< RTYPE, StoragePolicy >::type value_type
#define RCPP_DEBUG_4(fmt, M1, M2, M3, M4)
traits::r_vector_const_iterator< RTYPE >::type vector_iterator
traits::r_vector_proxy< RTYPE >::type value_type
std::iterator_traits< vector_iterator >::pointer pointer
traits::r_vector_proxy< RTYPE >::type value_type
traits::r_vector_iterator< RTYPE >::type vector_iterator
std::iterator_traits< vector_iterator >::pointer pointer
const storage_type< RTYPE >::type * type
const storage_type< RTYPE >::type & type
storage_type< RTYPE >::type * type
storage_type< RTYPE >::type & type
#define RCPP_LOOP_UNROLL_LHSFUN(TARGET, FUN, SOURCE)