Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 ()
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 begin(), const_start, n, Rcpp::parent(), and start.

Referenced by MatrixColumn(), operator=(), and operator=().

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 begin(), const_start, n, Rcpp::parent(), and start.

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.

References const_start, MatrixColumn(), n, and start.

Here is the call graph for this function:

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 103 of file MatrixColumn.h.

References start.

◆ begin() [2/2]

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

Definition at line 87 of file MatrixColumn.h.

References const_start.

Referenced by MatrixColumn(), and MatrixColumn().

◆ cbegin()

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

Definition at line 95 of file MatrixColumn.h.

References const_start.

◆ cend()

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

Definition at line 99 of file MatrixColumn.h.

References const_start, and n.

◆ end() [1/2]

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

Definition at line 107 of file MatrixColumn.h.

References n, and start.

◆ end() [2/2]

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

Definition at line 91 of file MatrixColumn.h.

References const_start, and n.

◆ 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 MatrixColumn(), RCPP_LOOP_UNROLL, and start.

Here is the call graph for this function:

◆ 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(), MatrixColumn(), RCPP_LOOP_UNROLL, and 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 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 const_start.

◆ size()

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

Definition at line 111 of file MatrixColumn.h.

References n.

Member Data Documentation

◆ const_start

template<int RTYPE>
const_iterator Rcpp::MatrixColumn< RTYPE >::const_start
private

Definition at line 118 of file MatrixColumn.h.

Referenced by begin(), cbegin(), cend(), end(), MatrixColumn(), MatrixColumn(), MatrixColumn(), and operator[]().

◆ n

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

Definition at line 116 of file MatrixColumn.h.

Referenced by cend(), end(), end(), MatrixColumn(), MatrixColumn(), MatrixColumn(), and size().

◆ start

template<int RTYPE>
iterator Rcpp::MatrixColumn< RTYPE >::start
private

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