|
| | MatViewDiagMat (const Mat< T, N, N, matType< type_parent >()> &m) |
| | Construct a new MatViewDiagMat object from a raw data pointer.
|
| |
| | MatViewDiagMat (const MatViewDiagMat &m) |
| | Copy constructor.
|
| |
| Mat< T, N, N, MatType::DIAGONAL > | inv () const |
| | Return a inverse matrix.
|
| |
| T | operator() (size_t r, size_t c) const |
| | Get the read only data element from row and column index.
|
| |
| T | operator[] (size_t index) const |
| | Get the read only element by array row major index.
|
| |
| | operator Mat< T, N, N, MatType::DIAGONAL > () const |
| | Conversion from view to a real Mat.
|
| |
| Mat< T, N, N, MatType::DIAGONAL > | asMat () const |
| | Explicitly make a Mat copy.
|
| |
template<typename T, size_t N, size_t N_,
MatType type, typename type_parent>
class flames::MatViewDiagMat< T, N, N_, type, type_parent >
Read only view version of a diagonal matrix.
- Template Parameters
-
| T | Element type. |
| N | Matrix dimension. |
| N_ | Matrix dimension (unused, only to ensure it is a square matrix). |
| type | Matrix type (surely DIAGONAL here). |
| type_parent | Parent matrix (where it takes the diagonal) type. |