Rcpp Version 1.0.9
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 iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > 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
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
iterator begin ()
 
iterator end ()
 
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
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () 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

◆ const_iterator

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

Definition at line 35 of file MatrixColumn.h.

◆ const_Proxy

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

Definition at line 32 of file MatrixColumn.h.

◆ iterator

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

Definition at line 34 of file MatrixColumn.h.

◆ MATRIX

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

Definition at line 30 of file MatrixColumn.h.

◆ Proxy

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

Definition at line 31 of file MatrixColumn.h.

◆ value_type

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

Definition at line 33 of file MatrixColumn.h.

Constructor & Destructor Documentation

◆ MatrixColumn() [1/3]

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

Definition at line 37 of file MatrixColumn.h.

References Rcpp::parent().

Here is the call graph for this function:

◆ MatrixColumn() [2/3]

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

Definition at line 49 of file MatrixColumn.h.

References Rcpp::parent().

Here is the call graph for this function:

◆ MatrixColumn() [3/3]

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

Definition at line 61 of file MatrixColumn.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 103 of file MatrixColumn.h.

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

◆ begin() [2/2]

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

Definition at line 87 of file MatrixColumn.h.

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

◆ cbegin()

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

Definition at line 95 of file MatrixColumn.h.

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

◆ cend()

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

◆ end() [1/2]

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

◆ end() [2/2]

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

◆ operator=() [1/2]

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.

◆ operator=() [2/2]

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:

◆ operator[]() [1/2]

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

Definition at line 79 of file MatrixColumn.h.

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

◆ operator[]() [2/2]

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.

◆ size()

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

Definition at line 111 of file MatrixColumn.h.

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

Member Data Documentation

◆ const_start

◆ n

template<int RTYPE>
const int Rcpp::MatrixColumn< RTYPE >::n
private

◆ start


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