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)
 
const scalarRectangularMatrixU () const
 
const scalarRectangularMatrixV () const
 
const scalarDiagonalMatrixS () const
 
bool converged () const
 
label nZeros () const
 
scalar minNonZeroS () const
 
scalarRectangularMatrix VSinvUt () const
 

Detailed Description

Singular value decomposition of a rectangular matrix.

Source files

Definition at line 49 of file SVD.H.

Constructor & Destructor Documentation

◆ SVD()

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

Definition at line 28 of file SVD.C.

References A, Foam::constant::universal::c, f(), Foam::findMax(), forAll, g, Foam::constant::universal::h, k, Matrix::m(), Foam::mag(), Foam::max(), Foam::min(), Matrix::n(), s, Foam::sqrt(), Foam::sqrtSumSqr(), x, and y.

Here is the call graph for this function:

Member Function Documentation

◆ U()

const Foam::scalarRectangularMatrix & U ( ) const
inline

Definition at line 33 of file SVDI.H.

Referenced by chemPointISAT< CompType, ThermoType >::chemPointISAT().

Here is the caller graph for this function:

◆ V()

const Foam::scalarRectangularMatrix & V ( ) const
inline

Definition at line 39 of file SVDI.H.

Referenced by chemPointISAT< CompType, ThermoType >::chemPointISAT().

Here is the caller graph for this function:

◆ S()

const Foam::scalarDiagonalMatrix & S ( ) const
inline

Definition at line 45 of file SVDI.H.

Referenced by CentredFitSnGradData< Polynomial >::calcFit(), and chemPointISAT< CompType, ThermoType >::chemPointISAT().

Here is the caller graph for this function:

◆ converged()

bool converged ( ) const
inline

Definition at line 51 of file SVDI.H.

◆ nZeros()

Foam::label nZeros ( ) const
inline

Definition at line 57 of file SVDI.H.

◆ minNonZeroS()

Foam::scalar minNonZeroS ( ) const
inline

Definition at line 63 of file SVDI.H.

References s.

◆ VSinvUt()

Foam::scalarRectangularMatrix VSinvUt ( ) const

Definition at line 380 of file SVD.C.

References Foam::inv(), Foam::multiply(), and dimensioned::T().

Referenced by CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), leastSquares::stencilWeights(), and Foam::SVDinv().

Here is the call graph for this function:
Here is the caller graph for this function:

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