OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

SVD Class Reference

Singular value decomposition of a rectangular matrix. More...

Collaboration diagram for SVD:

List of all members.


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.

Detailed Description

Singular value decomposition of a rectangular matrix.

Source files

Definition at line 48 of file SVD.H.


Constructor & Destructor Documentation

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

Construct from a rectangular Matrix.

Definition at line 25 of file SVD.C.

References Foam::endl(), Foam::findMax(), g, h, Foam::inv(), k(), Matrix< Form, Type >::m(), Foam::mag(), Foam::max(), Foam::min(), Foam::multiply(), Matrix< Form, Type >::n(), Foam::scale(), Foam::sqrt(), sqrtSumSqr(), Matrix< Form, Type >::T(), WarningIn, and y.

Here is the call graph for this function:


Member Function Documentation

const Foam::scalarRectangularMatrix & U (  )  const [inline]

Return U.

Definition at line 29 of file SVDI.H.

const Foam::scalarRectangularMatrix & V (  )  const [inline]

Return the square matrix V.

Definition at line 34 of file SVDI.H.

const Foam::scalarDiagonalMatrix & S (  )  const [inline]

Return the singular values.

Definition at line 39 of file SVDI.H.

const Foam::scalarRectangularMatrix & VSinvUt (  )  const [inline]

Return VSinvUt (the pseudo inverse).

Definition at line 44 of file SVDI.H.

Foam::label nZeros (  )  const [inline]

Return the number of zero singular values.

Definition at line 49 of file SVDI.H.

Foam::scalar minNonZeroS (  )  const [inline]

Return the minimum non-zero singular value.

Definition at line 54 of file SVDI.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.H
  • src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.C
  • src/OpenFOAM/matrices/scalarMatrices/SVD/SVDI.H
Copyright © 2000-2009 OpenCFD Ltd