scalar minNonZeroS() const
Return the minimum non-zero singular value.
label nZeros_
The number of zero singular values.
SVD(const SVD &)
Disallow default bitwise copy construct.
scalarRectangularMatrix VSinvUt_
The matrix product V S^(-1) U^T.
const T sign(const T &a, const T &b)
DiagonalMatrix< scalar > S_
The singular values.
simpleMatrix< scalar > A(Nc)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator=(const SVD &)
Disallow default bitwise assignment.
const scalarDiagonalMatrix & S() const
Return the singular values.
scalarRectangularMatrix V_
Square matrix V.
scalarRectangularMatrix U_
Rectangular matrix with the same dimensions as the input.
const scalarRectangularMatrix & VSinvUt() const
Return VSinvUt (the pseudo inverse)
Singular value decomposition of a rectangular matrix.
label nZeros() const
Return the number of zero singular values.
const scalarRectangularMatrix & V() const
Return the square matrix V.
const scalarRectangularMatrix & U() const
Return U.