cml::et::MatrixColOp< ExprT > Class Template Reference

#include <matrix_rowcol.h>

Collaboration diagram for cml::et::MatrixColOp< ExprT >:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { array_size = result_type::array_size }
 Record result size as an enum. More...
typedef unary_expression expr_ary
typedef expr_type expr_const_reference
typedef
expr_traits::const_reference 
expr_reference
typedef ExprTraits< ExprT > expr_traits
typedef MatrixColOp< ExprT > expr_type
typedef vector_result_tag result_tag
typedef
expr_traits::result_type::col_vector_type 
result_type
typedef ExprT::size_tag size_tag
typedef result_type::temporary_type temporary_type
typedef ExprT::value_type value_type

Public Member Functions

expr_reference expression () const
 Return reference to contained expression.
 MatrixColOp (const expr_type &e)
 Copy constructor.
 MatrixColOp (const ExprT &expr, size_t col)
 Construct from the subexpression to store.
value_type operator[] (size_t i) const
 Compute value at index i of the col vector.
matrix_size size () const
 Return the expression size as a pair.

Protected Attributes

const size_t m_col
expr_reference m_expr

Private Member Functions

expr_typeoperator= (const expr_type &)


Detailed Description

template<class ExprT>
class cml::et::MatrixColOp< ExprT >

Definition at line 116 of file matrix_rowcol.h.


Member Typedef Documentation

template<class ExprT >
typedef unary_expression cml::et::MatrixColOp< ExprT >::expr_ary

Definition at line 123 of file matrix_rowcol.h.

template<class ExprT >
typedef expr_type cml::et::MatrixColOp< ExprT >::expr_const_reference

Definition at line 126 of file matrix_rowcol.h.

template<class ExprT >
typedef expr_traits::const_reference cml::et::MatrixColOp< ExprT >::expr_reference

Definition at line 136 of file matrix_rowcol.h.

template<class ExprT >
typedef ExprTraits<ExprT> cml::et::MatrixColOp< ExprT >::expr_traits

Definition at line 133 of file matrix_rowcol.h.

template<class ExprT >
typedef MatrixColOp<ExprT> cml::et::MatrixColOp< ExprT >::expr_type

Definition at line 120 of file matrix_rowcol.h.

template<class ExprT >
typedef vector_result_tag cml::et::MatrixColOp< ExprT >::result_tag

Definition at line 129 of file matrix_rowcol.h.

template<class ExprT >
typedef expr_traits::result_type::col_vector_type cml::et::MatrixColOp< ExprT >::result_type

Definition at line 139 of file matrix_rowcol.h.

template<class ExprT >
typedef ExprT::size_tag cml::et::MatrixColOp< ExprT >::size_tag

Definition at line 130 of file matrix_rowcol.h.

template<class ExprT >
typedef result_type::temporary_type cml::et::MatrixColOp< ExprT >::temporary_type

Definition at line 142 of file matrix_rowcol.h.

template<class ExprT >
typedef ExprT::value_type cml::et::MatrixColOp< ExprT >::value_type

Definition at line 128 of file matrix_rowcol.h.


Member Enumeration Documentation

template<class ExprT >
anonymous enum

Record result size as an enum.

Enumerator:
array_size 

Definition at line 148 of file matrix_rowcol.h.


Constructor & Destructor Documentation

template<class ExprT >
cml::et::MatrixColOp< ExprT >::MatrixColOp ( const ExprT &  expr,
size_t  col 
) [inline, explicit]

Construct from the subexpression to store.

Definition at line 170 of file matrix_rowcol.h.

template<class ExprT >
cml::et::MatrixColOp< ExprT >::MatrixColOp ( const expr_type e  )  [inline]

Copy constructor.

Definition at line 174 of file matrix_rowcol.h.


Member Function Documentation

template<class ExprT >
expr_reference cml::et::MatrixColOp< ExprT >::expression (  )  const [inline]

Return reference to contained expression.

Definition at line 159 of file matrix_rowcol.h.

References cml::et::MatrixColOp< ExprT >::m_expr.

template<class ExprT >
expr_type& cml::et::MatrixColOp< ExprT >::operator= ( const expr_type  )  [private]

template<class ExprT >
value_type cml::et::MatrixColOp< ExprT >::operator[] ( size_t  i  )  const [inline]

Compute value at index i of the col vector.

Definition at line 162 of file matrix_rowcol.h.

References cml::et::MatrixColOp< ExprT >::m_col, and cml::et::MatrixColOp< ExprT >::m_expr.

template<class ExprT >
matrix_size cml::et::MatrixColOp< ExprT >::size (  )  const [inline]

Return the expression size as a pair.

Definition at line 154 of file matrix_rowcol.h.

References cml::et::MatrixColOp< ExprT >::m_expr.

Referenced by cml::et::ExprTraits< MatrixColOp< ExprT > >::size().

Here is the caller graph for this function:


Member Data Documentation

template<class ExprT >
const size_t cml::et::MatrixColOp< ExprT >::m_col [protected]

Definition at line 181 of file matrix_rowcol.h.

Referenced by cml::et::MatrixColOp< ExprT >::operator[]().

template<class ExprT >
expr_reference cml::et::MatrixColOp< ExprT >::m_expr [protected]


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

Generated on Sat Jul 18 19:35:39 2009 for CML 1.0 by  doxygen 1.5.9