GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FloatSVD Class Reference

#include "floatSVD.h"

Collaboration diagram for FloatSVD:
Collaboration graph
[legend]

Public Member Functions

 FloatSVD (void)
 
 FloatSVD (const FloatMatrix &a, SVD::type svd_type=SVD::std, SVD::driver svd_driver=SVD::GESVD)
 
 FloatSVD (const FloatMatrix &a, octave_idx_type &info, SVD::type svd_type=SVD::std, SVD::driver svd_driver=SVD::GESVD)
 
 FloatSVD (const FloatSVD &a)
 
 ~FloatSVD (void)
 
FloatMatrix left_singular_matrix (void) const
 
FloatSVDoperator= (const FloatSVD &a)
 
FloatMatrix right_singular_matrix (void) const
 
FloatDiagMatrix singular_values (void) const
 

Private Member Functions

octave_idx_type init (const FloatMatrix &a, SVD::type svd_type=SVD::std, SVD::driver svd_driver=SVD::GESVD)
 

Private Attributes

FloatMatrix left_sm
 
FloatMatrix right_sm
 
FloatDiagMatrix sigma
 
SVD::type type_computed
 

Friends

std::ostream & operator<< (std::ostream &os, const FloatSVD &a)
 

Detailed Description

Definition at line 32 of file floatSVD.h.

Constructor & Destructor Documentation

FloatSVD::FloatSVD ( void  )
inline

Definition at line 38 of file floatSVD.h.

FloatSVD::FloatSVD ( const FloatMatrix a,
SVD::type  svd_type = SVD::std,
SVD::driver  svd_driver = SVD::GESVD 
)
inline

Definition at line 40 of file floatSVD.h.

FloatSVD::FloatSVD ( const FloatMatrix a,
octave_idx_type info,
SVD::type  svd_type = SVD::std,
SVD::driver  svd_driver = SVD::GESVD 
)
inline

Definition at line 47 of file floatSVD.h.

FloatSVD::FloatSVD ( const FloatSVD a)
inline

Definition at line 55 of file floatSVD.h.

FloatSVD::~FloatSVD ( void  )
inline

Definition at line 73 of file floatSVD.h.

Member Function Documentation

octave_idx_type FloatSVD::init ( const FloatMatrix a,
SVD::type  svd_type = SVD::std,
SVD::driver  svd_driver = SVD::GESVD 
)
private
FloatMatrix FloatSVD::left_singular_matrix ( void  ) const

Definition at line 58 of file floatSVD.cc.

References left_sm, SVD::sigma_only, and type_computed.

Referenced by Fsvd(), operator<<(), and FloatMatrix::pseudo_inverse().

FloatSVD& FloatSVD::operator= ( const FloatSVD a)
inline

Definition at line 60 of file floatSVD.h.

References left_sm, right_sm, sigma, and type_computed.

FloatMatrix FloatSVD::right_singular_matrix ( void  ) const

Definition at line 71 of file floatSVD.cc.

References right_sm, SVD::sigma_only, and type_computed.

Referenced by Fsvd(), operator<<(), and FloatMatrix::pseudo_inverse().

FloatDiagMatrix FloatSVD::singular_values ( void  ) const
inline

Definition at line 75 of file floatSVD.h.

Referenced by Fsvd(), operator<<(), and FloatMatrix::pseudo_inverse().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const FloatSVD a 
)
friend

Definition at line 205 of file floatSVD.cc.

Member Data Documentation

FloatMatrix FloatSVD::left_sm
private

Definition at line 88 of file floatSVD.h.

Referenced by init(), left_singular_matrix(), and operator=().

FloatMatrix FloatSVD::right_sm
private

Definition at line 89 of file floatSVD.h.

Referenced by init(), operator=(), and right_singular_matrix().

FloatDiagMatrix FloatSVD::sigma
private

Definition at line 87 of file floatSVD.h.

Referenced by init(), and operator=().

SVD::type FloatSVD::type_computed
private

Definition at line 85 of file floatSVD.h.

Referenced by init(), left_singular_matrix(), operator=(), and right_singular_matrix().


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