Rcpp Version 0.12.12
Rcpp::MatrixColumn< RTYPE > Class Template Reference

#include <MatrixColumn.h>

Inheritance diagram for Rcpp::MatrixColumn< RTYPE >:
Collaboration diagram for Rcpp::MatrixColumn< RTYPE >:

Public Types

typedef Matrix< RTYPE > MATRIX
 
typedef MATRIX::Proxy Proxy
 
typedef MATRIX::const_Proxy const_Proxy
 
typedef MATRIX::value_type value_type
 
typedef MATRIX::iterator iterator
 
typedef MATRIX::const_iterator const_iterator
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, MatrixColumn< RTYPE > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 MatrixColumn (MATRIX &parent, int i)
 
 MatrixColumn (const MATRIX &parent, int i)
 
 MatrixColumn (const MatrixColumn &other)
 
template<int RT, bool NA, typename T >
MatrixColumnoperator= (const Rcpp::VectorBase< RT, NA, T > &rhs)
 
MatrixColumnoperator= (const MatrixColumn &rhs)
 
Proxy operator[] (int i)
 
const_Proxy operator[] (int i) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
int size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, MatrixColumn< RTYPE > >
MatrixColumn< RTYPE > & get_ref ()
 
const MatrixColumn< RTYPE > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const int n
 
iterator start
 
const_iterator const_start
 

Detailed Description

template<int RTYPE>
class Rcpp::MatrixColumn< RTYPE >

Definition at line 28 of file MatrixColumn.h.

Member Typedef Documentation

template<int RTYPE>
typedef MATRIX::const_iterator Rcpp::MatrixColumn< RTYPE >::const_iterator

Definition at line 35 of file MatrixColumn.h.

template<int RTYPE>
typedef MATRIX::const_Proxy Rcpp::MatrixColumn< RTYPE >::const_Proxy

Definition at line 32 of file MatrixColumn.h.

template<int RTYPE>
typedef MATRIX::iterator Rcpp::MatrixColumn< RTYPE >::iterator

Definition at line 34 of file MatrixColumn.h.

template<int RTYPE>
typedef Matrix<RTYPE> Rcpp::MatrixColumn< RTYPE >::MATRIX

Definition at line 30 of file MatrixColumn.h.

template<int RTYPE>
typedef MATRIX::Proxy Rcpp::MatrixColumn< RTYPE >::Proxy

Definition at line 31 of file MatrixColumn.h.

template<int RTYPE>
typedef MATRIX::value_type Rcpp::MatrixColumn< RTYPE >::value_type

Definition at line 33 of file MatrixColumn.h.

Constructor & Destructor Documentation

template<int RTYPE>
Rcpp::MatrixColumn< RTYPE >::MatrixColumn ( MATRIX parent,
int  i 
)
inline

Definition at line 37 of file MatrixColumn.h.

References Rcpp::Matrix< RTYPE, StoragePolicy >::ncol().

Here is the call graph for this function:

template<int RTYPE>
Rcpp::MatrixColumn< RTYPE >::MatrixColumn ( const MATRIX parent,
int  i 
)
inline

Definition at line 49 of file MatrixColumn.h.

References Rcpp::Matrix< RTYPE, StoragePolicy >::ncol().

Here is the call graph for this function:

template<int RTYPE>
Rcpp::MatrixColumn< RTYPE >::MatrixColumn ( const MatrixColumn< RTYPE > &  other)
inline

Definition at line 61 of file MatrixColumn.h.

Member Function Documentation

template<int RTYPE>
iterator Rcpp::MatrixColumn< RTYPE >::begin ( )
inline

Definition at line 87 of file MatrixColumn.h.

References Rcpp::MatrixColumn< RTYPE >::start.

template<int RTYPE>
const_iterator Rcpp::MatrixColumn< RTYPE >::begin ( ) const
inline

Definition at line 91 of file MatrixColumn.h.

References Rcpp::MatrixColumn< RTYPE >::const_start.

template<int RTYPE>
iterator Rcpp::MatrixColumn< RTYPE >::end ( )
inline
template<int RTYPE>
const_iterator Rcpp::MatrixColumn< RTYPE >::end ( ) const
inline
template<int RTYPE>
template<int RT, bool NA, typename T >
MatrixColumn& Rcpp::MatrixColumn< RTYPE >::operator= ( const Rcpp::VectorBase< RT, NA, T > &  rhs)
inline

Definition at line 67 of file MatrixColumn.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), RCPP_LOOP_UNROLL, and Rcpp::MatrixColumn< RTYPE >::start.

Here is the call graph for this function:

template<int RTYPE>
MatrixColumn& Rcpp::MatrixColumn< RTYPE >::operator= ( const MatrixColumn< RTYPE > &  rhs)
inline

Definition at line 73 of file MatrixColumn.h.

References RCPP_LOOP_UNROLL, and Rcpp::MatrixColumn< RTYPE >::start.

template<int RTYPE>
Proxy Rcpp::MatrixColumn< RTYPE >::operator[] ( int  i)
inline

Definition at line 79 of file MatrixColumn.h.

References Rcpp::MatrixColumn< RTYPE >::start.

template<int RTYPE>
const_Proxy Rcpp::MatrixColumn< RTYPE >::operator[] ( int  i) const
inline

Definition at line 83 of file MatrixColumn.h.

References Rcpp::MatrixColumn< RTYPE >::const_start.

template<int RTYPE>
int Rcpp::MatrixColumn< RTYPE >::size ( ) const
inline

Definition at line 103 of file MatrixColumn.h.

References Rcpp::MatrixColumn< RTYPE >::n.

Member Data Documentation


The documentation for this class was generated from the following file: