Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
vnl_svd_economy< real_t > Class Template Reference

#include <vnl_svd_economy.h>

Public Types

typedef vnl_numeric_traits< real_t >::abs_t singval_t
 The singular values of a matrix of complex<T> are of type T, not complex<T>. More...
 

Public Member Functions

 vnl_svd_economy (vnl_matrix< real_t > const &M)
 
vnl_matrix< real_t > const & V () const
 Return right singular vectors. More...
 
vnl_matrix< real_t > & V ()
 
vnl_vector< singval_t > const & lambdas () const
 Return singular values in decreasing order. More...
 
vnl_vector< singval_t > & lambdas ()
 
vnl_vector< real_t > nullvector ()
 Return the rightmost column of V. More...
 

Protected Attributes

long m_
 
long n_
 
vnl_matrix< real_t > V_
 
vnl_vector< singval_tsv_
 

Private Member Functions

 vnl_svd_economy (vnl_svd_economy< real_t > const &)
 
vnl_svd_economy< real_t > & operator= (vnl_svd_economy< real_t > const &)
 

Detailed Description

template<class real_t>
class vnl_svd_economy< real_t >

Definition at line 19 of file vnl_svd_economy.h.

Member Typedef Documentation

◆ singval_t

template<class real_t >
typedef vnl_numeric_traits<real_t>::abs_t vnl_svd_economy< real_t >::singval_t

The singular values of a matrix of complex<T> are of type T, not complex<T>.

Definition at line 23 of file vnl_svd_economy.h.

Constructor & Destructor Documentation

◆ vnl_svd_economy() [1/2]

template<class real_t >
vnl_svd_economy< real_t >::vnl_svd_economy ( vnl_matrix< real_t > const &  M)

Definition at line 28 of file vnl_svd_economy.hxx.

◆ vnl_svd_economy() [2/2]

template<class real_t >
vnl_svd_economy< real_t >::vnl_svd_economy ( vnl_svd_economy< real_t > const &  )
inlineprivate

Definition at line 44 of file vnl_svd_economy.h.

Member Function Documentation

◆ lambdas() [1/2]

template<class real_t >
vnl_vector<singval_t> const& vnl_svd_economy< real_t >::lambdas ( ) const
inline

Return singular values in decreasing order.

Definition at line 32 of file vnl_svd_economy.h.

◆ lambdas() [2/2]

template<class real_t >
vnl_vector<singval_t>& vnl_svd_economy< real_t >::lambdas ( )
inline

Definition at line 33 of file vnl_svd_economy.h.

◆ nullvector()

template<class real_t >
vnl_vector< real_t > vnl_svd_economy< real_t >::nullvector ( )

Return the rightmost column of V.

Definition at line 108 of file vnl_svd_economy.hxx.

◆ operator=()

template<class real_t >
vnl_svd_economy<real_t>& vnl_svd_economy< real_t >::operator= ( vnl_svd_economy< real_t > const &  )
inlineprivate

Definition at line 45 of file vnl_svd_economy.h.

◆ V() [1/2]

template<class real_t >
vnl_matrix<real_t> const& vnl_svd_economy< real_t >::V ( ) const
inline

Return right singular vectors.

Definition at line 28 of file vnl_svd_economy.h.

◆ V() [2/2]

template<class real_t >
vnl_matrix<real_t>& vnl_svd_economy< real_t >::V ( )
inline

Definition at line 29 of file vnl_svd_economy.h.

Member Data Documentation

◆ m_

template<class real_t >
long vnl_svd_economy< real_t >::m_
protected

Definition at line 39 of file vnl_svd_economy.h.

◆ n_

template<class real_t >
long vnl_svd_economy< real_t >::n_
protected

Definition at line 39 of file vnl_svd_economy.h.

◆ sv_

template<class real_t >
vnl_vector<singval_t> vnl_svd_economy< real_t >::sv_
protected

Definition at line 41 of file vnl_svd_economy.h.

◆ V_

template<class real_t >
vnl_matrix<real_t> vnl_svd_economy< real_t >::V_
protected

Definition at line 40 of file vnl_svd_economy.h.


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