37 #ifndef SquareMatrix_H
38 #define SquareMatrix_H
51 class RectangularMatrix;
61 public Matrix<SquareMatrix<Type>, Type>
75 template<
class MatrixType>
79 template<
class MatrixType>
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 templated block of an (m x n) matrix of type <MatrixType>.
A templated (m x n) matrix of objects of <T>.
label n() const
Return the number of columns.
label m() const
Return the number of rows.
A templated 2D rectangular m x n matrix of objects of <Type>.
A templated 2D square matrix of objects of <T>, where the n x n matrix dimension is known and used fo...
SquareMatrix()
Null constructor.
static word typeName()
Return the instantiated type name.
autoPtr< SquareMatrix< Type > > clone() const
Clone.
void setSize(const label m)
Resize the matrix preserving the elements.
void shallowResize(const label m)
Resize the matrix without reallocating storage (unsafe)
void operator=(const zero)
Assignment of all elements to zero.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Traits class for primitives.
Abstract template class to provide the form resulting from.
A class for handling words, derived from string.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
dimensionedScalar det(const dimensionedSphericalTensor &dt)
dimensionedScalar sign(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar detDecomposed(const SquareMatrix< Type > &, const label sign)
Return the LU decomposed SquareMatrix det.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.