75 inline const T sign(
const T& a,
const T&
b);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
SVD(const scalarRectangularMatrix &A, const scalar minCondition=0)
Construct from a rectangular Matrix.
label nZeros() const
Return the number of zero singular values.
const scalarRectangularMatrix & U() const
Return U.
scalar minNonZeroS() const
Return the minimum non-zero singular value.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
const scalarDiagonalMatrix & S() const
Return the singular values.
bool converged() const
Return the minimum non-zero singular value.
void operator=(const SVD &)=delete
Disallow default bitwise assignment.
Singular value decomposition of a rectangular matrix.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalarRectangularMatrix VSinvUt() const
Return the matrix product V S^(-1) U^T (the pseudo inverse)
const scalarRectangularMatrix & V() const
Return the square matrix V.