Jet
v1.3.3
|
Vector expression for matrix-scalar binary operation. More...
#include <jet/vector_expression.h>
Public Member Functions | |
VectorScalarBinaryOp (const E &u, const T &v) | |
Constructs a binary expression for given vector and scalar. More... | |
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 VectorScalarBinaryOp< T, E, Op > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Vector expression for matrix-scalar binary operation.
This vector expression represents a binary matrix operation that takes one input vector expression and one scalar.
T | - Real number type. |
E | - Input expression type. |
Op | - Binary operation. |
jet::VectorScalarBinaryOp< T, E, Op >::VectorScalarBinaryOp | ( | const E & | u, |
const T & | v | ||
) |
Constructs a binary expression for given vector and scalar.
T jet::VectorScalarBinaryOp< T, E, Op >::operator[] | ( | size_t | i | ) | const |
Returns vector element at i.
size_t jet::VectorScalarBinaryOp< T, E, Op >::size | ( | ) | const |
Size of the matrix.