CubbyFlow::MatrixIdentity< T > Class Template Reference
Identity matrix expression. More...
#include <Core/Matrix/MatrixExpression.h>
Inheritance diagram for CubbyFlow::MatrixIdentity< T >:
Public Member Functions | |
MatrixIdentity (size_t m) | |
Constructs m x m identity 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... | |
Public Member Functions inherited from CubbyFlow::MatrixExpression< T, MatrixIdentity< T > > | |
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 MatrixIdentity< T > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Detailed Description
template<typename T>
class CubbyFlow::MatrixIdentity< T >
Identity matrix expression.
This matrix expression represents an identity matrix.
- Template Parameters
-
T Real number type.
Constructor & Destructor Documentation
◆ MatrixIdentity()
template<typename T >
CubbyFlow::MatrixIdentity< T >::MatrixIdentity | ( | size_t | m | ) |
Constructs m x m identity matrix expression.
Member Function Documentation
◆ Cols()
template<typename T >
size_t CubbyFlow::MatrixIdentity< T >::Cols | ( | ) | const |
Number of columns.
◆ operator()()
template<typename T >
T CubbyFlow::MatrixIdentity< T >::operator() | ( | size_t | i, |
size_t | j | ||
) | const |
Returns matrix element at (i, j).
◆ Rows()
template<typename T >
size_t CubbyFlow::MatrixIdentity< T >::Rows | ( | ) | const |
Number of rows.
◆ size()
template<typename T >
Size2 CubbyFlow::MatrixIdentity< T >::size | ( | ) | const |
Size of the matrix.
The documentation for this class was generated from the following files:
- Core/Matrix/MatrixExpression.h
- Core/Matrix/MatrixExpression-Impl.h