45 this->operator[](i) = a(i, i);
78 Type
x = this->operator[](i);
81 this->operator[](i) = Type(0);
85 this->operator[](i) = Type(1)/
x;
#define forAll(list, i)
Loop across all elements in list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
DiagonalMatrix<Type> is a 2D diagonal matrix of objects of type Type, size nxn.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
A templated (m x n) matrix of objects of <T>.
DiagonalMatrix< Type > & invert()
Invert the diagonal matrix and return itself.
DiagonalMatrix()
Null constructor.
dimensioned< scalar > mag(const dimensioned< Type > &)