Rcpp Version 1.0.9
|
#include <MatrixRow.h>
Classes | |
struct | const_iter_traits |
class | iter_base |
struct | iter_traits |
Public Types | |
typedef Matrix< RTYPE > | MATRIX |
typedef MATRIX::Proxy | Proxy |
typedef MATRIX::Proxy | reference |
typedef MATRIX::const_Proxy | const_reference |
typedef MATRIX::value_type | value_type |
typedef iter_base< iter_traits > | iterator |
typedef iter_base< const_iter_traits > | const_iterator |
Public Types inherited from Rcpp::VectorBase< RTYPE, true, MatrixRow< RTYPE > > | |
typedef traits::storage_type< RTYPE >::type | stored_type |
typedef traits::storage_type< RTYPE >::type | elem_type |
typedef iter_base< iter_traits > | iterator |
typedef iter_base< const_iter_traits > | const_iterator |
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 () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
int | size () const |
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, MatrixRow< RTYPE > > | |
MatrixRow< RTYPE > & | get_ref () |
const MatrixRow< RTYPE > & | get_ref () const |
stored_type | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Private Member Functions | |
int | get_parent_index (int i) const |
Private Attributes | |
MATRIX & | parent |
MATRIX::iterator | start |
int | parent_nrow |
int | row |
Definition at line 28 of file MatrixRow.h.
typedef iter_base< const_iter_traits > Rcpp::MatrixRow< RTYPE >::const_iterator |
Definition at line 131 of file MatrixRow.h.
typedef MATRIX::const_Proxy Rcpp::MatrixRow< RTYPE >::const_reference |
Definition at line 33 of file MatrixRow.h.
typedef iter_base< iter_traits > Rcpp::MatrixRow< RTYPE >::iterator |
Definition at line 130 of file MatrixRow.h.
typedef Matrix<RTYPE> Rcpp::MatrixRow< RTYPE >::MATRIX |
Definition at line 30 of file MatrixRow.h.
typedef MATRIX::Proxy Rcpp::MatrixRow< RTYPE >::Proxy |
Definition at line 31 of file MatrixRow.h.
typedef MATRIX::Proxy Rcpp::MatrixRow< RTYPE >::reference |
Definition at line 32 of file MatrixRow.h.
typedef MATRIX::value_type Rcpp::MatrixRow< RTYPE >::value_type |
Definition at line 34 of file MatrixRow.h.
|
inline |
Definition at line 133 of file MatrixRow.h.
References Rcpp::Matrix< RTYPE, StoragePolicy >::nrow(), and Rcpp::MatrixRow< RTYPE >::parent.
|
inline |
Definition at line 146 of file MatrixRow.h.
|
inline |
Definition at line 175 of file MatrixRow.h.
|
inline |
Definition at line 183 of file MatrixRow.h.
|
inline |
Definition at line 191 of file MatrixRow.h.
|
inline |
Definition at line 195 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::size().
|
inline |
Definition at line 179 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::size().
|
inline |
Definition at line 187 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::size().
|
inlineprivate |
Definition at line 209 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::parent_nrow, and RCPP_DEBUG_4.
Referenced by Rcpp::MatrixRow< RTYPE >::operator=(), and Rcpp::MatrixRow< RTYPE >::operator[]().
|
inline |
Definition at line 161 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::get_parent_index(), RCPP_LOOP_UNROLL_LHSFUN, Rcpp::MatrixRow< RTYPE >::size(), and Rcpp::MatrixRow< RTYPE >::start.
|
inline |
Definition at line 154 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::get_parent_index(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), RCPP_LOOP_UNROLL_LHSFUN, Rcpp::MatrixRow< RTYPE >::size(), and Rcpp::MatrixRow< RTYPE >::start.
|
inline |
Definition at line 167 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::get_parent_index(), and Rcpp::MatrixRow< RTYPE >::start.
|
inline |
Definition at line 171 of file MatrixRow.h.
References Rcpp::MatrixRow< RTYPE >::parent, Rcpp::MatrixRow< RTYPE >::parent_nrow, and Rcpp::MatrixRow< RTYPE >::row.
|
inline |
Definition at line 199 of file MatrixRow.h.
References Rcpp::Matrix< RTYPE, StoragePolicy >::ncol(), and Rcpp::MatrixRow< RTYPE >::parent.
Referenced by Rcpp::MatrixRow< RTYPE >::cend(), Rcpp::MatrixRow< RTYPE >::end(), and Rcpp::MatrixRow< RTYPE >::operator=().
|
private |
Definition at line 204 of file MatrixRow.h.
Referenced by Rcpp::MatrixRow< RTYPE >::MatrixRow(), Rcpp::MatrixRow< RTYPE >::operator[](), and Rcpp::MatrixRow< RTYPE >::size().
|
private |
Definition at line 206 of file MatrixRow.h.
Referenced by Rcpp::MatrixRow< RTYPE >::get_parent_index(), and Rcpp::MatrixRow< RTYPE >::operator[]().
|
private |
Definition at line 207 of file MatrixRow.h.
Referenced by Rcpp::MatrixRow< RTYPE >::operator[]().
|
private |
Definition at line 205 of file MatrixRow.h.
Referenced by Rcpp::MatrixRow< RTYPE >::operator=(), and Rcpp::MatrixRow< RTYPE >::operator[]().