Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::ConstMatrixColumn< RTYPE > Class Template Reference

#include <MatrixColumn.h>

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

Public Types

typedef Matrix< RTYPE > MATRIX
typedef MATRIX::const_Proxy const_Proxy
typedef MATRIX::value_type value_type
typedef MATRIX::const_iterator const_iterator
Public Types inherited from Rcpp::VectorBase< RTYPE, true, ConstMatrixColumn< 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

 ConstMatrixColumn (const MATRIX &parent, int i)
 ConstMatrixColumn (const ConstMatrixColumn &other)
const_Proxy operator[] (int i) const
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, ConstMatrixColumn< RTYPE > >
ConstMatrixColumn< 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
const_iterator const_start

Detailed Description

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

Definition at line 123 of file MatrixColumn.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 128 of file MatrixColumn.h.

◆ const_Proxy

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

Definition at line 126 of file MatrixColumn.h.

◆ MATRIX

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

Definition at line 125 of file MatrixColumn.h.

◆ value_type

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

Definition at line 127 of file MatrixColumn.h.

Constructor & Destructor Documentation

◆ ConstMatrixColumn() [1/2]

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

Definition at line 130 of file MatrixColumn.h.

References begin(), const_start, n, and Rcpp::parent().

Referenced by ConstMatrixColumn().

Here is the call graph for this function:

◆ ConstMatrixColumn() [2/2]

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

Definition at line 141 of file MatrixColumn.h.

References const_start, ConstMatrixColumn(), and n.

Here is the call graph for this function:

Member Function Documentation

◆ begin()

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

Definition at line 149 of file MatrixColumn.h.

References const_start.

Referenced by ConstMatrixColumn().

◆ cbegin()

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

Definition at line 157 of file MatrixColumn.h.

References const_start.

◆ cend()

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

Definition at line 161 of file MatrixColumn.h.

References const_start, and n.

◆ end()

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

Definition at line 153 of file MatrixColumn.h.

References const_start, and n.

◆ operator[]()

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

Definition at line 145 of file MatrixColumn.h.

References const_start.

◆ size()

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

Definition at line 165 of file MatrixColumn.h.

References n.

Member Data Documentation

◆ const_start

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

Definition at line 171 of file MatrixColumn.h.

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

◆ n

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

Definition at line 170 of file MatrixColumn.h.

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


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