#include <matrix_rowcol.h>
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_type & | operator= (const expr_type &) |
Definition at line 116 of file matrix_rowcol.h.
typedef unary_expression cml::et::MatrixColOp< ExprT >::expr_ary |
Definition at line 123 of file matrix_rowcol.h.
typedef expr_type cml::et::MatrixColOp< ExprT >::expr_const_reference |
Definition at line 126 of file matrix_rowcol.h.
typedef expr_traits::const_reference cml::et::MatrixColOp< ExprT >::expr_reference |
Definition at line 136 of file matrix_rowcol.h.
typedef ExprTraits<ExprT> cml::et::MatrixColOp< ExprT >::expr_traits |
Definition at line 133 of file matrix_rowcol.h.
typedef MatrixColOp<ExprT> cml::et::MatrixColOp< ExprT >::expr_type |
Definition at line 120 of file matrix_rowcol.h.
typedef vector_result_tag cml::et::MatrixColOp< ExprT >::result_tag |
Definition at line 129 of file matrix_rowcol.h.
typedef expr_traits::result_type::col_vector_type cml::et::MatrixColOp< ExprT >::result_type |
Definition at line 139 of file matrix_rowcol.h.
typedef ExprT::size_tag cml::et::MatrixColOp< ExprT >::size_tag |
Definition at line 130 of file matrix_rowcol.h.
typedef result_type::temporary_type cml::et::MatrixColOp< ExprT >::temporary_type |
Definition at line 142 of file matrix_rowcol.h.
typedef ExprT::value_type cml::et::MatrixColOp< ExprT >::value_type |
Definition at line 128 of file matrix_rowcol.h.
anonymous enum |
cml::et::MatrixColOp< ExprT >::MatrixColOp | ( | const ExprT & | expr, | |
size_t | col | |||
) | [inline, explicit] |
cml::et::MatrixColOp< ExprT >::MatrixColOp | ( | const expr_type & | e | ) | [inline] |
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.
expr_type& cml::et::MatrixColOp< ExprT >::operator= | ( | const expr_type & | ) | [private] |
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.
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().
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[]().
expr_reference cml::et::MatrixColOp< ExprT >::m_expr [protected] |
Definition at line 180 of file matrix_rowcol.h.
Referenced by cml::et::MatrixColOp< ExprT >::expression(), cml::et::MatrixColOp< ExprT >::operator[](), and cml::et::MatrixColOp< ExprT >::size().