Jet
v1.3.3
|
Constant matrix expression. More...
#include <jet/matrix_expression.h>
Public Member Functions | |
MatrixConstant (size_t m, size_t n, const T &c) | |
Constructs m x n constant matrix 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 MatrixConstant< T > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Constant matrix expression.
This matrix expression represents a constant matrix.
T | Real number type. |
jet::MatrixConstant< T >::MatrixConstant | ( | size_t | m, |
size_t | n, | ||
const T & | c | ||
) |
Constructs m x n constant matrix expression.
size_t jet::MatrixConstant< T >::cols | ( | ) | const |
Number of columns.
T jet::MatrixConstant< T >::operator() | ( | size_t | i, |
size_t | j | ||
) | const |
Returns matrix element at (i, j).
size_t jet::MatrixConstant< T >::rows | ( | ) | const |
Number of rows.
Size2 jet::MatrixConstant< T >::size | ( | ) | const |
Size of the matrix.