Public Member Functions | List of all members
SVD Class Reference

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 scalarRectangularMatrixU () const
 Return U. More...
 
const scalarRectangularMatrixV () const
 Return the square matrix V. More...
 
const scalarDiagonalMatrixS () const
 Return the singular values. More...
 
const scalarRectangularMatrixVSinvUt () 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...
 

Detailed Description

Singular value decomposition of a rectangular matrix.

Source files

Definition at line 51 of file SVD.H.

Constructor & Destructor Documentation

SVD ( const scalarRectangularMatrix A,
const scalar  minCondition = 0 
)

Member Function Documentation

const Foam::scalarRectangularMatrix & U ( ) const
inline

Return U.

Definition at line 37 of file SVDI.H.

const Foam::scalarRectangularMatrix & V ( ) const
inline

Return the square matrix V.

Definition at line 42 of file SVDI.H.

const Foam::scalarDiagonalMatrix & S ( ) const
inline

Return the singular values.

Definition at line 47 of file SVDI.H.

Referenced by CentredFitSnGradData< Polynomial >::calcFit().

Here is the caller graph for this function:

const Foam::scalarRectangularMatrix & VSinvUt ( ) const
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().

Here is the caller graph for this function:

Foam::label nZeros ( ) const
inline

Return the number of zero singular values.

Definition at line 57 of file SVDI.H.

Foam::scalar minNonZeroS ( ) const
inline

Return the minimum non-zero singular value.

Definition at line 62 of file SVDI.H.

References s(), and List< T >::size().

Here is the call graph for this function:


The documentation for this class was generated from the following files: