#include "dbleSVD.h"
Public Types | |
enum | driver { GESVD, GESDD } |
enum | type { std, economy, sigma_only } |
Public Member Functions | |
SVD (void) | |
SVD (const Matrix &a, type svd_type=SVD::std, driver svd_driver=SVD::GESVD) | |
SVD (const SVD &a) | |
SVD (const Matrix &a, octave_idx_type &info, type svd_type=SVD::std, driver svd_driver=SVD::GESVD) | |
~SVD (void) | |
Matrix | left_singular_matrix (void) const |
SVD & | operator= (const SVD &a) |
Matrix | right_singular_matrix (void) const |
DiagMatrix | singular_values (void) const |
Private Member Functions | |
octave_idx_type | init (const Matrix &a, type svd_type=std, driver svd_driver=GESVD) |
Private Attributes | |
Matrix | left_sm |
Matrix | right_sm |
DiagMatrix | sigma |
SVD::type | type_computed |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SVD &a) |
Definition at line 31 of file dbleSVD.h.
enum SVD::driver |
SVD::SVD | ( | const Matrix & | a, | |
octave_idx_type & | info, | |||
type | svd_type = SVD::std , |
|||
driver | svd_driver = SVD::GESVD | |||
) | [inline] |
octave_idx_type SVD::init | ( | const Matrix & | a, | |
SVD::type | svd_type = std , |
|||
SVD::driver | svd_driver = GESVD | |||
) | [private] |
Definition at line 84 of file dbleSVD.cc.
References Array< T >::cols(), economy, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, DiagArray2< T >::fortran_vec(), Array< T >::fortran_vec(), GESDD, GESVD, left_sm, max(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), DiagArray2< T >::resize(), Matrix::resize(), right_sm, Array< T >::rows(), sigma, sigma_only, Matrix::transpose(), and type_computed.
Matrix SVD::left_singular_matrix | ( | void | ) | const |
Definition at line 58 of file dbleSVD.cc.
References left_sm, sigma_only, and type_computed.
Referenced by DEFUN_DLD(), operator<<(), and Matrix::pseudo_inverse().
Matrix SVD::right_singular_matrix | ( | void | ) | const |
Definition at line 71 of file dbleSVD.cc.
References right_sm, sigma_only, and type_computed.
Referenced by DEFUN_DLD(), null(), operator<<(), and Matrix::pseudo_inverse().
DiagMatrix SVD::singular_values | ( | void | ) | const [inline] |
Definition at line 86 of file dbleSVD.h.
Referenced by DEFUN_DLD(), null(), operator<<(), and Matrix::pseudo_inverse().
std::ostream& operator<< | ( | std::ostream & | os, | |
const SVD & | a | |||
) | [friend] |
Definition at line 204 of file dbleSVD.cc.
Matrix SVD::left_sm [private] |
Definition at line 99 of file dbleSVD.h.
Referenced by init(), left_singular_matrix(), and operator=().
Matrix SVD::right_sm [private] |
Definition at line 100 of file dbleSVD.h.
Referenced by init(), operator=(), and right_singular_matrix().
DiagMatrix SVD::sigma [private] |
Definition at line 98 of file dbleSVD.h.
Referenced by init(), and operator=().
SVD::type SVD::type_computed [private] |
Definition at line 96 of file dbleSVD.h.
Referenced by init(), left_singular_matrix(), operator=(), and right_singular_matrix().