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