Go to the documentation of this file.
40 #ifndef SquareMatrix_H
41 #define SquareMatrix_H
52 template<
class Type>
class RectangularMatrix;
62 public Matrix<SquareMatrix<Type>, Type>
85 template<
class AnyType>
88 template<
class AnyType>
110 template<
class MatrixType>
114 template<
class MatrixType>
162 template<
class AnyType>
label ListType::const_reference val
SquareMatrix()
Construct null.
autoPtr< SquareMatrix< Type > > clone() const
Clone.
void operator=(const zero)
Assign all elements to zero.
void resize(const label m)
Resize the matrix preserving the elements.
scalar detDecomposed(const SquareMatrix< Type > &, const label sign)
Return the LU decomposed SquareMatrix det.
dimensionedScalar sign(const dimensionedScalar &ds)
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order:
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Templated identity and dual space identity tensors derived from SphericalTensor.
A templated block of an (m x n) matrix of type <MatrixType>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool symmetric() const
Return true if the square matrix is effectively symmetric/Hermitian.
A templated 2D rectangular m x n matrix of objects of <Type>.
label n() const noexcept
The number of columns.
bool tridiagonal() const
Return true if the square matrix is reduced tridiagonal.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A templated 2D square matrix of objects of <T>, where the n x n matrix dimension is known and used fo...
label m() const noexcept
The number of rows.
An ordered pair of two objects of type <T> with first() and second() elements.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
void setSize(const label m)
Resize the matrix preserving the elements.
dimensionedScalar det(const dimensionedSphericalTensor &dt)
void shallowResize(const label m)
Resize the matrix without reallocating storage (unsafe)
A class representing the concept of 0 (zero), which can be used to avoid manipulating objects that ar...
SquareMatrix< Type > type