#include <itkMathSVD.h>
Result of a fixed-size rectangular SVD with thin factors: A (VRows x VCols) == U diag(W) V^T, where U is VRows x K, V is VCols x K and K = min(VRows, VCols); W is descending. rcond < 0 auto-selects a K*epsilon threshold.
Definition at line 318 of file itkMathSVD.h.
Public Member Functions | |
| TReal | DeterminantMagnitude () const |
| vnl_vector_fixed< TReal, VCols > | NullVector () const |
| vnl_matrix_fixed< TReal, VCols, VRows > | PseudoInverse (TReal rcond=TReal{ -1 }) const |
| unsigned int | Rank (TReal rcond=TReal{ -1 }) const |
| vnl_matrix_fixed< TReal, VRows, VCols > | Recompose (TReal rcond=TReal{ -1 }) const |
| vnl_matrix_fixed< TReal, VRows, VCols > | RecomposeWith (const vnl_vector_fixed< TReal, K > &modifiedW) const |
| vnl_vector_fixed< TReal, VCols > | Solve (const vnl_vector_fixed< TReal, VRows > &b, TReal rcond=TReal{ -1 }) const |
| TReal | WellCondition () const |
Public Attributes | |
| vnl_matrix_fixed< TReal, VRows, K > | U {} |
| vnl_matrix_fixed< TReal, VCols, K > | V {} |
| vnl_vector_fixed< TReal, K > | W {} |
Static Public Attributes | |
| static constexpr unsigned int | K = (VRows < VCols) ? VRows : VCols |
|
inline |
Product of the singular values (magnitude of the determinant for a square A).
Definition at line 380 of file itkMathSVD.h.
References itk::Math::detail::DeterminantMagnitude(), and W.
|
inline |
Singular vector for the smallest singular value (last column of V); spans the nullspace when A is rank-deficient. Overdetermined shapes only: the thin V of an underdetermined input does not span the nullspace.
Definition at line 365 of file itkMathSVD.h.
|
inline |
Moore-Penrose pseudo-inverse A^+ (VCols x VRows).
Definition at line 328 of file itkMathSVD.h.
|
inline |
Numerical rank (count of singular values above rcond*max(w)).
Definition at line 342 of file itkMathSVD.h.
|
inline |
Reconstruct A with singular values at or below rcond*max(w) zeroed.
Definition at line 349 of file itkMathSVD.h.
|
inline |
Reconstruct U diag(modifiedW) V^T with caller-supplied singular values.
Definition at line 356 of file itkMathSVD.h.
References itk::Math::detail::RecomposeWith(), U, and V.
|
inline |
Least-squares / minimum-norm solution of A x = b.
Definition at line 335 of file itkMathSVD.h.
|
inline |
Reciprocal condition number sigma_min/sigma_max (0 = singular, 1 = perfect).
Definition at line 373 of file itkMathSVD.h.
References W, and itk::Math::detail::WellCondition().
|
staticconstexpr |
Definition at line 320 of file itkMathSVD.h.
Referenced by NullVector().
| vnl_matrix_fixed<TReal, VRows, K> itk::Math::FixedRectangularSVDResult< TReal, VRows, VCols >::U {} |
Definition at line 322 of file itkMathSVD.h.
Referenced by RecomposeWith(), and itk::Math::SVD().
| vnl_matrix_fixed<TReal, VCols, K> itk::Math::FixedRectangularSVDResult< TReal, VRows, VCols >::V {} |
Definition at line 324 of file itkMathSVD.h.
Referenced by NullVector(), RecomposeWith(), and itk::Math::SVD().
| vnl_vector_fixed<TReal, K> itk::Math::FixedRectangularSVDResult< TReal, VRows, VCols >::W {} |
Definition at line 323 of file itkMathSVD.h.
Referenced by DeterminantMagnitude(), itk::Math::SVD(), and WellCondition().