Rcpp Version 0.9.10
MatrixColumn< RTYPE > Class Template Reference

#include <MatrixColumn.h>

Collaboration diagram for MatrixColumn< RTYPE >:

List of all members.

Public Types

typedef Matrix< RTYPE > MATRIX
typedef MATRIX::Proxy Proxy
typedef MATRIX::value_type value_type
typedef MATRIX::iterator iterator

Public Member Functions

 MatrixColumn (MATRIX &object, 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)
Proxy operator[] (int i) const
iterator begin ()
iterator begin () const
iterator end ()
iterator end () const
int size () const

Private Attributes

MATRIXparent
int index
iterator start

Detailed Description

template<int RTYPE>
class MatrixColumn< RTYPE >

Definition at line 26 of file MatrixColumn.h.


Member Typedef Documentation

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

Definition at line 31 of file MatrixColumn.h.

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

Definition at line 28 of file MatrixColumn.h.

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

Definition at line 29 of file MatrixColumn.h.

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

Definition at line 30 of file MatrixColumn.h.


Constructor & Destructor Documentation

template<int RTYPE>
MatrixColumn< RTYPE >::MatrixColumn ( MATRIX object,
int  i 
) [inline]

Definition at line 33 of file MatrixColumn.h.

References Matrix< RTYPE >::ncol(), and MatrixColumn< RTYPE >::parent.

Here is the call graph for this function:

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

Definition at line 39 of file MatrixColumn.h.


Member Function Documentation

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

Definition at line 67 of file MatrixColumn.h.

References MatrixColumn< RTYPE >::start.

template<int RTYPE>
iterator MatrixColumn< RTYPE >::begin ( ) const [inline]

Definition at line 71 of file MatrixColumn.h.

References MatrixColumn< RTYPE >::start.

template<int RTYPE>
iterator MatrixColumn< RTYPE >::end ( ) const [inline]

Definition at line 79 of file MatrixColumn.h.

References Matrix< RTYPE >::nrow(), MatrixColumn< RTYPE >::parent, and MatrixColumn< RTYPE >::start.

Here is the call graph for this function:

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

Definition at line 75 of file MatrixColumn.h.

References Matrix< RTYPE >::nrow(), MatrixColumn< RTYPE >::parent, and MatrixColumn< RTYPE >::start.

Here is the call graph for this function:

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

Definition at line 43 of file MatrixColumn.h.

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

Here is the call graph for this function:

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

Definition at line 50 of file MatrixColumn.h.

References n, RCPP_LOOP_UNROLL, MatrixColumn< RTYPE >::size(), and MatrixColumn< RTYPE >::start.

Here is the call graph for this function:

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

Definition at line 62 of file MatrixColumn.h.

References i, and MatrixColumn< RTYPE >::start.

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

Definition at line 57 of file MatrixColumn.h.

References i, and MatrixColumn< RTYPE >::start.

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

Definition at line 83 of file MatrixColumn.h.

References Matrix< RTYPE >::nrow(), and MatrixColumn< RTYPE >::parent.

Referenced by MatrixColumn< RTYPE >::operator=().

Here is the call graph for this function:


Member Data Documentation

template<int RTYPE>
int MatrixColumn< RTYPE >::index [private]

Definition at line 89 of file MatrixColumn.h.

template<int RTYPE>
MATRIX& MatrixColumn< RTYPE >::parent [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines