77 template<
class AnyType>
126 template<
class MatrixType>
137 template<
class MatrixType>
244 for (label i = 0; i < f1f2T.m(); ++i)
246 for (label j = 0; j < f1f2T.n(); ++j)
248 f1f2T(i, j) = f1[i]*f2[j];
const T & first() const noexcept
Access the first element.
Abstract template class to provide the form resulting from the inner-product of two forms...
void size(const label n)
Older name for setAddressableSize.
RectangularMatrix & operator=(const RectangularMatrix &)=default
Copy assignment.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A traits class, which is primarily used for primitives and vector-space.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
A templated block of an (m x n) matrix of type <MatrixType>.
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Generic templated field type.
RectangularMatrix()=default
Default construct.
A templated (M x N) rectangular matrix of objects of <Type>, containing M*N elements, derived from Matrix.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order: ...
autoPtr< RectangularMatrix< Type > > clone() const
Clone.
Pair< label > labelPair
A pair of labels.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated identity and dual space identity tensors derived from SphericalTensor.
const T & second() const noexcept
Access the second element.
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix...