#include <matrix_expr.h>
Public Types | |
enum | { array_rows = ExprT::array_rows, array_cols = ExprT::array_cols } |
Record result size as an enum (if applicable). More... | |
typedef cml::et::not_assignable_tag | assignable_tag |
typedef unary_expression | expr_ary |
typedef expr_type | expr_const_reference |
typedef expr_traits::const_reference | expr_reference |
typedef ExprTraits< ExprT > | expr_traits |
typedef UnaryMatrixOp< ExprT, OpT > | expr_type |
typedef matrix_result_tag | result_tag |
typedef expr_traits::result_type | result_type |
typedef ExprT::size_tag | size_tag |
typedef result_type::temporary_type | temporary_type |
typedef OpT::value_type | value_type |
Public Member Functions | |
size_t | cols () const |
Return number of columns in the expression (same as argument). | |
value_type | operator() (size_t i, size_t j) const |
Compute value at index i,j of the result matrix. | |
size_t | rows () const |
Return number of rows in the expression (same as argument). | |
matrix_size | size () const |
Return the expression size as a pair. | |
UnaryMatrixOp (const expr_type &e) | |
Copy constructor. | |
UnaryMatrixOp (expr_reference expr) | |
Construct from the subexpression. | |
Protected Attributes | |
expr_reference | m_expr |
Private Member Functions | |
expr_type & | operator= (const expr_type &) |
The operator must take exactly one argument.
Definition at line 171 of file matrix_expr.h.
typedef cml::et::not_assignable_tag cml::et::UnaryMatrixOp< ExprT, OpT >::assignable_tag |
Definition at line 200 of file matrix_expr.h.
typedef unary_expression cml::et::UnaryMatrixOp< ExprT, OpT >::expr_ary |
Definition at line 178 of file matrix_expr.h.
typedef expr_type cml::et::UnaryMatrixOp< ExprT, OpT >::expr_const_reference |
Definition at line 181 of file matrix_expr.h.
typedef expr_traits::const_reference cml::et::UnaryMatrixOp< ExprT, OpT >::expr_reference |
Definition at line 191 of file matrix_expr.h.
typedef ExprTraits<ExprT> cml::et::UnaryMatrixOp< ExprT, OpT >::expr_traits |
Definition at line 188 of file matrix_expr.h.
typedef UnaryMatrixOp<ExprT,OpT> cml::et::UnaryMatrixOp< ExprT, OpT >::expr_type |
Definition at line 175 of file matrix_expr.h.
typedef matrix_result_tag cml::et::UnaryMatrixOp< ExprT, OpT >::result_tag |
Definition at line 184 of file matrix_expr.h.
typedef expr_traits::result_type cml::et::UnaryMatrixOp< ExprT, OpT >::result_type |
Definition at line 194 of file matrix_expr.h.
typedef ExprT::size_tag cml::et::UnaryMatrixOp< ExprT, OpT >::size_tag |
Definition at line 185 of file matrix_expr.h.
typedef result_type::temporary_type cml::et::UnaryMatrixOp< ExprT, OpT >::temporary_type |
Definition at line 197 of file matrix_expr.h.
typedef OpT::value_type cml::et::UnaryMatrixOp< ExprT, OpT >::value_type |
Definition at line 183 of file matrix_expr.h.
anonymous enum |
cml::et::UnaryMatrixOp< ExprT, OpT >::UnaryMatrixOp | ( | expr_reference | expr | ) | [inline, explicit] |
cml::et::UnaryMatrixOp< ExprT, OpT >::UnaryMatrixOp | ( | const expr_type & | e | ) | [inline] |
size_t cml::et::UnaryMatrixOp< ExprT, OpT >::cols | ( | ) | const [inline] |
Return number of columns in the expression (same as argument).
Definition at line 222 of file matrix_expr.h.
References cml::et::UnaryMatrixOp< ExprT, OpT >::m_expr.
Referenced by cml::et::ExprTraits< UnaryMatrixOp< ExprT, OpT > >::cols(), and cml::et::UnaryMatrixOp< ExprT, OpT >::size().
value_type cml::et::UnaryMatrixOp< ExprT, OpT >::operator() | ( | size_t | i, | |
size_t | j | |||
) | const [inline] |
Compute value at index i,j of the result matrix.
Definition at line 227 of file matrix_expr.h.
References cml::et::UnaryMatrixOp< ExprT, OpT >::m_expr.
expr_type& cml::et::UnaryMatrixOp< ExprT, OpT >::operator= | ( | const expr_type & | ) | [private] |
size_t cml::et::UnaryMatrixOp< ExprT, OpT >::rows | ( | ) | const [inline] |
Return number of rows in the expression (same as argument).
Definition at line 217 of file matrix_expr.h.
References cml::et::UnaryMatrixOp< ExprT, OpT >::m_expr.
Referenced by cml::et::ExprTraits< UnaryMatrixOp< ExprT, OpT > >::rows(), and cml::et::UnaryMatrixOp< ExprT, OpT >::size().
matrix_size cml::et::UnaryMatrixOp< ExprT, OpT >::size | ( | ) | const [inline] |
Return the expression size as a pair.
Definition at line 212 of file matrix_expr.h.
References cml::et::UnaryMatrixOp< ExprT, OpT >::cols(), and cml::et::UnaryMatrixOp< ExprT, OpT >::rows().
Referenced by cml::et::ExprTraits< UnaryMatrixOp< ExprT, OpT > >::size().
expr_reference cml::et::UnaryMatrixOp< ExprT, OpT >::m_expr [protected] |
Definition at line 247 of file matrix_expr.h.
Referenced by cml::et::UnaryMatrixOp< ExprT, OpT >::cols(), cml::et::UnaryMatrixOp< ExprT, OpT >::operator()(), and cml::et::UnaryMatrixOp< ExprT, OpT >::rows().