75 inline const T sign(
const T& a,
const T&
b);
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
Singular value decomposition of a rectangular matrix.
const scalarRectangularMatrix & V() const
Return the square matrix V.
const scalarRectangularMatrix & U() const
Return U.
scalarRectangularMatrix VSinvUt() const
Return the matrix product V S^(-1) U^T (the pseudo inverse)
void operator=(const SVD &)=delete
Disallow default bitwise assignment.
scalar minNonZeroS() const
Return the minimum non-zero singular value.
SVD(const scalarRectangularMatrix &A, const scalar minCondition=0)
Construct from a rectangular Matrix.
label nZeros() const
Return the number of zero singular values.
bool converged() const
Return the minimum non-zero singular value.
const scalarDiagonalMatrix & S() const
Return the singular values.
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 T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)