Singular value decomposition of a rectangular matrix. More...
#include <OpenFOAM/SVD.H>
Singular value decomposition of a rectangular matrix.
Definition at line 53 of file SVD.H.
Public Member Functions | |
SVD (const scalarRectangularMatrix &A, const scalar minCondition=0) | |
Construct from a rectangular Matrix.
| |
const scalarRectangularMatrix & | U () const |
Return U.
| |
const scalarRectangularMatrix & | V () const |
Return the square matrix V.
| |
const scalarDiagonalMatrix & | S () const |
Return the singular values.
| |
const scalarRectangularMatrix & | VSinvUt () const |
Return VSinvUt (the pseudo inverse)
| |
label | nZeros () const |
Return the number of zero singular values.
| |
scalar | minNonZeroS () const |
Return the minimum non-zero singular value.
|
SVD | ( | const scalarRectangularMatrix & | A, |
const scalar | minCondition = 0
|
||
) |
Construct from a rectangular Matrix.
Definition at line 33 of file SVD.C.
References Foam::endl(), f(), Foam::findMax(), h, Foam::inv(), k(), Matrix< Form, Type >::m(), Foam::mag(), Foam::max(), Foam::min(), Foam::multiply(), Matrix< Form, Type >::n(), Foam::sqrt(), sqrtSumSqr(), Matrix< Form, Type >::T(), WarningIn, and y.
const Foam::scalarRectangularMatrix & U | ( | ) | const [inline]
|
const Foam::scalarRectangularMatrix & V | ( | ) | const [inline]
|
const Foam::scalarDiagonalMatrix & S | ( | ) | const [inline]
|
const Foam::scalarRectangularMatrix & VSinvUt | ( | ) | const [inline]
|
Return VSinvUt (the pseudo inverse)
Definition at line 52 of file SVDI.H.
Referenced by FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), and Foam::SVDinv().
Foam::label nZeros | ( | ) | const [inline]
|
Foam::scalar minNonZeroS | ( | ) | const [inline]
|