PCL
pcl::SVD Class Reference

Singular value decomposition algorithm for Matrix and Vector objects. More...

#include <Algebra.h>

+ Inheritance diagram for pcl::SVD:

Public Types

using algorithm_implementation = GenericSVD< double >
 
using matrix = algorithm_implementation::matrix
 
using matrix_element = matrix::element
 
using vector = algorithm_implementation::vector
 
using vector_component = vector::component
 
- Public Types inherited from pcl::GenericSVD< double >
using algorithm_implementation = GenericInPlaceSVD< double >
 
using matrix = typename algorithm_implementation::matrix
 
using matrix_element = typename matrix::element
 
using vector = typename algorithm_implementation::vector
 
using vector_component = typename vector::component
 

Public Member Functions

 SVD (const matrix &A)
 
- Public Member Functions inherited from pcl::GenericSVD< double >
 GenericSVD (const matrix &A)
 
int IndexOfLargestSingularValue () const
 
int IndexOfSmallestSingularValue () const
 

Additional Inherited Members

- Public Attributes inherited from pcl::GenericSVD< double >
matrix U
 
matrix V
 
vector W
 

Detailed Description

SVD is a template instantiation of GenericSVD for the double type. SVD works with Matrix and Vector objects. Matrix and Vector are template instantiations of GenericMatrix and GenericVector, respectively, for the double type.

Definition at line 551 of file Algebra.h.

Member Typedef Documentation

◆ algorithm_implementation

Identifies the parent template class, which implements the underlying algorithm for this class.

Definition at line 559 of file Algebra.h.

◆ matrix

Represents a matrix involved in a singular value decomposition.

Definition at line 569 of file Algebra.h.

◆ matrix_element

using pcl::SVD::matrix_element = matrix::element

Represents a matrix element.

Definition at line 579 of file Algebra.h.

◆ vector

Represents a vector involved in a singular value decomposition.

Definition at line 564 of file Algebra.h.

◆ vector_component

using pcl::SVD::vector_component = vector::component

Represents a vector component.

Definition at line 574 of file Algebra.h.

Constructor & Destructor Documentation

◆ SVD()

pcl::SVD::SVD ( const matrix A)
inline

Singular Value Decomposition: A = U*W*Vt

The dimensions of A are n rows and m columns. U is an n x m matrix. The m components of W are the positive diagonal elements of W, and each column of V (m x m) is the eigenvector for the corresponding element of W.

On output, this constructor stores U, W and V in the corresponding members of this object.

Definition at line 591 of file Algebra.h.


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