Singular value decomposition of a rectangular matrix. More...
Public Member Functions | |
SVD (const scalarRectangularMatrix &A, const scalar minCondition=0) | |
Construct from a rectangular Matrix. More... | |
SVD (const SVD &)=delete | |
Disallow default bitwise copy construction. More... | |
const scalarRectangularMatrix & | U () const |
Return U. More... | |
const scalarRectangularMatrix & | V () const |
Return the square matrix V. More... | |
const scalarDiagonalMatrix & | S () const |
Return the singular values. More... | |
bool | converged () const |
Return the minimum non-zero singular value. More... | |
label | nZeros () const |
Return the number of zero singular values. More... | |
scalar | minNonZeroS () const |
Return the minimum non-zero singular value. More... | |
scalarRectangularMatrix | VSinvUt () const |
Return the matrix product V S^(-1) U^T (the pseudo inverse) More... | |
void | operator= (const SVD &)=delete |
Disallow default bitwise assignment. More... | |
Singular value decomposition of a rectangular matrix.
SVD | ( | const scalarRectangularMatrix & | A, |
const scalar | minCondition = 0 |
||
) |
Construct from a rectangular Matrix.
Definition at line 33 of file SVD.C.
References A, Foam::constant::universal::c, f(), Foam::findMax(), forAll, Foam::constant::universal::h, k, Matrix< Form, Type >::m(), Foam::mag(), Foam::max(), Foam::min(), Matrix< Form, Type >::n(), s(), Foam::sqrt(), Foam::sqrtSumSqr(), x, and y.
|
inline |
Return U.
Definition at line 38 of file SVDI.H.
Referenced by chemPointISAT::chemPointISAT().
|
inline |
Return the square matrix V.
Definition at line 44 of file SVDI.H.
Referenced by chemPointISAT::chemPointISAT().
|
inline |
Return the singular values.
Definition at line 50 of file SVDI.H.
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), and chemPointISAT::chemPointISAT().
|
inline |
|
inline |
|
inline |
Foam::scalarRectangularMatrix VSinvUt | ( | ) | const |
Return the matrix product V S^(-1) U^T (the pseudo inverse)
Definition at line 385 of file SVD.C.
References Foam::inv(), Foam::multiply(), and dimensioned< Type >::T().
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), and Foam::SVDinv().
|
delete |
Disallow default bitwise assignment.