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... | |
| 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... | |
| const scalarRectangularMatrix & | VSinvUt () const |
| Return VSinvUt (the pseudo inverse) More... | |
| label | nZeros () const |
| Return the number of zero singular values. More... | |
| scalar | minNonZeroS () const |
| Return the minimum non-zero singular value. 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 Foam::constant::universal::c, Foam::endl(), f(), Foam::findMax(), forAll, g, Foam::constant::universal::h, Foam::inv(), k, Matrix< Form, Type >::m(), Foam::mag(), Foam::max(), Foam::min(), Foam::multiply(), Matrix< Form, Type >::n(), s(), Foam::sqrt(), Foam::sqrtSumSqr(), Matrix< Form, Type >::T(), WarningInFunction, x, and y.

|
inline |
|
inline |
|
inline |
Return the singular values.
Definition at line 47 of file SVDI.H.
Referenced by CentredFitSnGradData< Polynomial >::calcFit().

|
inline |
Return VSinvUt (the pseudo inverse)
Definition at line 52 of file SVDI.H.
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), and Foam::SVDinv().

|
inline |
|
inline |
Return the minimum non-zero singular value.
Definition at line 62 of file SVDI.H.
References s(), and List< T >::size().

1.8.11