Jet
v1.3.3
|
Matrix expression for unary operation. More...
#include <jet/matrix_expression.h>
Public Member Functions | |
MatrixUnaryOp (const E &u) | |
Constructs unary operation expression for given input expression. More... | |
Size2 | size () const |
Size of the matrix. More... | |
size_t | rows () const |
Number of rows. More... | |
size_t | cols () const |
Number of columns. More... | |
T | operator() (size_t i, size_t j) const |
Returns matrix element at (i, j). More... | |
![]() | |
Size2 | size () const |
Size of the matrix. More... | |
size_t | rows () const |
Number of rows. More... | |
size_t | cols () const |
Number of columns. More... | |
const MatrixUnaryOp< T, E, Op > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Matrix expression for unary operation.
This matrix expression represents an unary matrix operation that takes single input matrix expression.
T | Real number type. |
E | Input expression type. |
Op | Unary operation. |
jet::MatrixUnaryOp< T, E, Op >::MatrixUnaryOp | ( | const E & | u | ) |
Constructs unary operation expression for given input expression.
size_t jet::MatrixUnaryOp< T, E, Op >::cols | ( | ) | const |
Number of columns.
T jet::MatrixUnaryOp< T, E, Op >::operator() | ( | size_t | i, |
size_t | j | ||
) | const |
Returns matrix element at (i, j).
size_t jet::MatrixUnaryOp< T, E, Op >::rows | ( | ) | const |
Number of rows.
Size2 jet::MatrixUnaryOp< T, E, Op >::size | ( | ) | const |
Size of the matrix.