Jet
v1.3.3
|
Vector expression for binary operation. More...
#include <jet/vector_expression.h>
Public Member Functions | |
VectorBinaryOp (const E1 &u, const E2 &v) | |
size_t | size () const |
Size of the matrix. More... | |
T | operator[] (size_t i) const |
Returns vector element at i. More... | |
![]() | |
size_t | size () const |
Size of the vector. More... | |
const VectorBinaryOp< T, E1, E2, Op > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Vector expression for binary operation.
This vector expression represents a binary vector operation that takes two input vector expressions.
T | - Real number type. |
E1 | - First input expression type. |
E2 | - Second input expression type. |
Op | - Binary operation. |
jet::VectorBinaryOp< T, E1, E2, Op >::VectorBinaryOp | ( | const E1 & | u, |
const E2 & | v | ||
) |
Constructs binary operation expression for given input vector expressions.
T jet::VectorBinaryOp< T, E1, E2, Op >::operator[] | ( | size_t | i | ) | const |
Returns vector element at i.
size_t jet::VectorBinaryOp< T, E1, E2, Op >::size | ( | ) | const |
Size of the matrix.