ViennaCL - The Vienna Computing Library
1.5.2
|
Expression template class for representing a tree of expressions which ultimately result in a matrix. More...
#include <matrix.hpp>
Public Types | |
typedef vcl_size_t | size_type |
Public Member Functions | |
matrix_expression (LHS &lhs, RHS &rhs) | |
LHS & | lhs () const |
Get left hand side operand. | |
RHS & | rhs () const |
Get right hand side operand. | |
vcl_size_t | size1 () const |
Returns the size of the result vector. | |
vcl_size_t | size2 () const |
Expression template class for representing a tree of expressions which ultimately result in a matrix.
LHS | The left hand side of the expression tree |
RHS | The right hand side of the expression tree |
OP | The operator to apply to LHS and RHS to obtain the result. |
typedef vcl_size_t size_type |
matrix_expression | ( | LHS & | lhs, |
RHS & | rhs | ||
) | [inline] |
LHS& lhs | ( | ) | const [inline] |
Get left hand side operand.
RHS& rhs | ( | ) | const [inline] |
Get right hand side operand.
vcl_size_t size1 | ( | ) | const [inline] |
Returns the size of the result vector.
vcl_size_t size2 | ( | ) | const [inline] |