ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Math::FixedSquareSVDResult< TReal, VDim > Struct Template Reference

#include <itkMathSVD.h>

Detailed Description

template<typename TReal, unsigned int VDim>
struct itk::Math::FixedSquareSVDResult< TReal, VDim >

Result of a fixed-size square SVD: A == U * diag(W) * V^T, W descending. For all solver methods, rcond < 0 auto-selects a VDim*epsilon threshold.

Definition at line 126 of file itkMathSVD.h.

Public Member Functions

vnl_matrix_fixed< TReal, VDim, VDim > PseudoInverse (TReal rcond=TReal{ -1 }) const
 
unsigned int Rank (TReal rcond=TReal{ -1 }) const
 
vnl_matrix_fixed< TReal, VDim, VDim > Recompose (TReal rcond=TReal{ -1 }) const
 
vnl_vector_fixed< TReal, VDim > Solve (const vnl_vector_fixed< TReal, VDim > &b, TReal rcond=TReal{ -1 }) const
 

Public Attributes

vnl_matrix_fixed< TReal, VDim, VDim > U {}
 
vnl_matrix_fixed< TReal, VDim, VDim > V {}
 
vnl_vector_fixed< TReal, VDim > W {}
 

Member Function Documentation

◆ PseudoInverse()

template<typename TReal, unsigned int VDim>
vnl_matrix_fixed< TReal, VDim, VDim > itk::Math::FixedSquareSVDResult< TReal, VDim >::PseudoInverse ( TReal rcond = TReal{ -1 }) const
inline

Moore-Penrose pseudo-inverse A^+.

Definition at line 134 of file itkMathSVD.h.

◆ Rank()

template<typename TReal, unsigned int VDim>
unsigned int itk::Math::FixedSquareSVDResult< TReal, VDim >::Rank ( TReal rcond = TReal{ -1 }) const
inline

Numerical rank (count of singular values above rcond*max(w)).

Definition at line 148 of file itkMathSVD.h.

◆ Recompose()

template<typename TReal, unsigned int VDim>
vnl_matrix_fixed< TReal, VDim, VDim > itk::Math::FixedSquareSVDResult< TReal, VDim >::Recompose ( TReal rcond = TReal{ -1 }) const
inline

Reconstruct A with singular values at or below rcond*max(w) zeroed.

Definition at line 155 of file itkMathSVD.h.

◆ Solve()

template<typename TReal, unsigned int VDim>
vnl_vector_fixed< TReal, VDim > itk::Math::FixedSquareSVDResult< TReal, VDim >::Solve ( const vnl_vector_fixed< TReal, VDim > & b,
TReal rcond = TReal{ -1 } ) const
inline

Least-squares / minimum-norm solution of A x = b.

Definition at line 141 of file itkMathSVD.h.

Member Data Documentation

◆ U

template<typename TReal, unsigned int VDim>
vnl_matrix_fixed<TReal, VDim, VDim> itk::Math::FixedSquareSVDResult< TReal, VDim >::U {}

Definition at line 128 of file itkMathSVD.h.

Referenced by itk::Math::SVD().

◆ V

template<typename TReal, unsigned int VDim>
vnl_matrix_fixed<TReal, VDim, VDim> itk::Math::FixedSquareSVDResult< TReal, VDim >::V {}

Definition at line 130 of file itkMathSVD.h.

Referenced by itk::Math::SVD().

◆ W

template<typename TReal, unsigned int VDim>
vnl_vector_fixed<TReal, VDim> itk::Math::FixedSquareSVDResult< TReal, VDim >::W {}

Definition at line 129 of file itkMathSVD.h.

Referenced by itk::Math::SVD().


The documentation for this struct was generated from the following file: