47 template<
class MatrixType>
58 template<
class MatrixType>
145 for (
label i=0; i<f1f2T.
m(); i++)
147 for (
label j=0; j<f1f2T.
n(); j++)
149 f1f2T(i, j) = f1[i]*f2[j];
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void size(const label)
Override size to be inconsistent with allocated storage.
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>.
RectangularMatrix()
Null constructor.
autoPtr< RectangularMatrix< Type > > clone() const
Clone.
void operator=(const zero)
Assignment of all elements to zero.
A templated 2D square matrix of objects of <T>, where the n x n matrix dimension is known and used fo...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)