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