Jet
v1.3.3
|
Triangular matrix expression. More...
#include <jet/matrix_expression.h>
Public Member Functions | |
MatrixTriangular (const E &u, bool isUpper, bool isStrict) | |
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 MatrixTriangular< T, E > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Triangular matrix expression.
This matrix expression represents a triangular matrix for given input matrix expression.
T | Real number type. |
E | Input expression type. |
jet::MatrixTriangular< T, E >::MatrixTriangular | ( | const E & | u, |
bool | isUpper, | ||
bool | isStrict | ||
) |
Constructs triangular matrix expression for given input expression.
isUpper | - True for upper tri matrix, false for lower tri matrix. |
isStrict | - True for strictly upper/lower triangular matrix. |
size_t jet::MatrixTriangular< T, E >::cols | ( | ) | const |
Number of columns.
T jet::MatrixTriangular< T, E >::operator() | ( | size_t | i, |
size_t | j | ||
) | const |
Returns matrix element at (i, j).
size_t jet::MatrixTriangular< T, E >::rows | ( | ) | const |
Number of rows.
Size2 jet::MatrixTriangular< T, E >::size | ( | ) | const |
Size of the matrix.