22 #ifndef Rcpp__vector__MatrixColumn_h
23 #define Rcpp__vector__MatrixColumn_h
42 if( i < 0 || i >=
parent.ncol() ) {
43 const char* fmt =
"Column index is out of bounds: "
44 "[index=%i; column extent=%i].";
45 throw index_out_of_bounds(fmt, i,
parent.ncol()) ;
54 if( i < 0 || i >=
parent.ncol() ) {
55 const char* fmt =
"Column index is out of bounds: "
56 "[index=%i; column extent=%i].";
57 throw index_out_of_bounds(fmt, i,
parent.ncol()) ;
66 template <
int RT,
bool NA,
typename T>
134 if( i < 0 || i >=
parent.ncol() ) {
135 const char* fmt =
"Column index is out of bounds: "
136 "[index=%i; column extent=%i].";
137 throw index_out_of_bounds(fmt, i,
parent.ncol()) ;
MATRIX::const_iterator const_iterator
const_Proxy operator[](int i) const
const_iterator const_start
const_iterator cend() const
MATRIX::value_type value_type
const_iterator begin() const
const_iterator end() const
const_iterator cbegin() const
ConstMatrixColumn(const MATRIX &parent, int i)
ConstMatrixColumn(const ConstMatrixColumn &other)
MATRIX::const_Proxy const_Proxy
const_iterator const_start
MatrixColumn & operator=(const Rcpp::VectorBase< RT, NA, T > &rhs)
const_iterator end() const
MatrixColumn(const MATRIX &parent, int i)
const_iterator cend() const
const_Proxy operator[](int i) const
MatrixColumn(MATRIX &parent, int i)
const_iterator cbegin() const
MATRIX::value_type value_type
MATRIX::const_Proxy const_Proxy
MATRIX::iterator iterator
MatrixColumn & operator=(const MatrixColumn &rhs)
const_iterator begin() const
MATRIX::const_iterator const_iterator
MatrixColumn(const MatrixColumn &other)
VECTOR::const_iterator const_iterator
VECTOR::const_Proxy const_Proxy
VECTOR::iterator iterator
traits::r_vector_proxy< RTYPE, PreserveStorage >::type value_type
Environment_Impl parent() const
#define RCPP_LOOP_UNROLL(TARGET, SOURCE)