Go to the documentation of this file.
42 #ifndef DiagonalMatrix_H
43 #define DiagonalMatrix_H
54 template<
class Form,
class Type>
class Matrix;
102 template<
class CompOp>
DiagonalMatrix & operator=(const DiagonalMatrix &)=default
Copy assignment.
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order:
A templated (N x N) diagonal matrix of objects of <Type>, effectively containing N elements,...
List< label > sortPermutation(CompOp &compare) const
void invert()
Return the matrix inverse into itself if no elem is equal to zero.
void applyPermutation(const List< label > &p)
DiagonalMatrix()=default
Default construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...