#include "floatSVD.h"
Public Member Functions | |
FloatSVD (void) | |
FloatSVD (const FloatMatrix &a, SVD::type svd_type=SVD::std, SVD::driver svd_driver=SVD::GESVD) | |
FloatSVD (const FloatSVD &a) | |
FloatSVD (const FloatMatrix &a, octave_idx_type &info, SVD::type svd_type=SVD::std, SVD::driver svd_driver=SVD::GESVD) | |
~FloatSVD (void) | |
FloatMatrix | left_singular_matrix (void) const |
FloatSVD & | operator= (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) |
Definition at line 32 of file floatSVD.h.
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.
octave_idx_type FloatSVD::init | ( | const FloatMatrix & | a, | |
SVD::type | svd_type = SVD::std , |
|||
SVD::driver | svd_driver = SVD::GESVD | |||
) | [private] |
Definition at line 84 of file floatSVD.cc.
References Array< T >::cols(), SVD::economy, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, DiagArray2< T >::fortran_vec(), Array< T >::fortran_vec(), SVD::GESDD, SVD::GESVD, left_sm, max(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), DiagArray2< T >::resize(), FloatMatrix::resize(), right_sm, Array< T >::rows(), sigma, SVD::sigma_only, FloatMatrix::transpose(), and type_computed.
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 DEFUN_DLD(), operator<<(), and FloatMatrix::pseudo_inverse().
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 DEFUN_DLD(), operator<<(), and FloatMatrix::pseudo_inverse().
FloatDiagMatrix FloatSVD::singular_values | ( | void | ) | const [inline] |
Definition at line 75 of file floatSVD.h.
Referenced by DEFUN_DLD(), operator<<(), and FloatMatrix::pseudo_inverse().
std::ostream& operator<< | ( | std::ostream & | os, | |
const FloatSVD & | a | |||
) | [friend] |
Definition at line 204 of file floatSVD.cc.
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().