56template<
class Type>
class RectangularMatrix;
66 public Matrix<SquareMatrix<Type>, Type>
98 template<
class AnyType>
103 template<
class AnyType>
128 template<
class MatrixType>
132 template<
class MatrixType>
151 inline void resize(
const label
m);
154 inline void resize(
const label
m,
const label
n);
174 template<
class CompOp>
194 template<
class AnyType>
Templated identity and dual space identity tensors derived from SphericalTensor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A templated block of an (m x n) matrix of type <MatrixType>.
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order:
label n() const noexcept
The number of columns.
label m() const noexcept
The number of rows.
A templated (M x N) rectangular matrix of objects of <Type>, containing M*N elements,...
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix.
bool symmetric() const
Return true if the square matrix is effectively symmetric/Hermitian.
SquareMatrix(const SquareMatrix &)=default
Copy construct.
List< label > sortPermutation(CompOp &compare) const
SquareMatrix()=default
Default construct.
autoPtr< SquareMatrix< Type > > clone() const
Clone.
void applyPermutation(const List< label > &p)
bool tridiagonal() const
Return true if the square matrix is reduced tridiagonal.
void setSize(const label m)
Resize the matrix preserving the elements.
void shallowResize(const label m)
Resize the matrix without reallocating storage (unsafe)
SquareMatrix & operator=(const SquareMatrix &)=default
Copy assignment.
void resize(const label m)
Resize the matrix preserving the elements.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...