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