Jet
v1.3.3
|
Matrix expression for binary operation. More...
#include <jet/matrix_expression.h>
Public Member Functions | |
MatrixBinaryOp (const E1 &u, const E2 &v) | |
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 MatrixBinaryOp< T, E1, E2, Op > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Matrix expression for binary operation.
This matrix expression represents a binary matrix operation that takes two input matrix expressions.
T | Real number type. |
E1 | First input expression type. |
E2 | Second input expression type. |
Op | Binary operation. |
jet::MatrixBinaryOp< T, E1, E2, Op >::MatrixBinaryOp | ( | const E1 & | u, |
const E2 & | v | ||
) |
Constructs binary operation expression for given input matrix expressions.
size_t jet::MatrixBinaryOp< T, E1, E2, Op >::cols | ( | ) | const |
Number of columns.
T jet::MatrixBinaryOp< T, E1, E2, Op >::operator() | ( | size_t | i, |
size_t | j | ||
) | const |
Returns matrix element at (i, j).
size_t jet::MatrixBinaryOp< T, E1, E2, Op >::rows | ( | ) | const |
Number of rows.
Size2 jet::MatrixBinaryOp< T, E1, E2, Op >::size | ( | ) | const |
Size of the matrix.