28 #ifndef KJB_CPP_N_SVD_H_UOFARIZONAVISION
29 #define KJB_CPP_N_SVD_H_UOFARIZONAVISION
86 Svd(
const kjb_c::Matrix* pa );
const Vector & d() const
const getter for vector of singular values
Definition: n_svd.cpp:68
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
void swap(Svd &other)
swap the representations of two SVD tuples
Definition: n_svd.cpp:55
a tuple that computes a singular value decomposition of a matrix
Definition: n_svd.h:54
Matrix reconstruction() const
this tries to reconstruct the original matrix A from its pieces
Definition: n_svd.cpp:78
const Matrix & vt() const
const getter for SVD right factor
Definition: n_svd.cpp:73
int rank
estimated rank of the input matrix
Definition: n_svd.h:58
Svd(const Matrix &mat_a)
ctor for tuple calls the library function on a wrapped Matrix
Definition: n_svd.cpp:45
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
Matrix mat_vt
eigenvectors (right factor in SVD product)
Definition: n_svd.h:56
Vector vec_d
vector of singular values
Definition: n_svd.h:55
Matrix mat_u
left factor in SVD product
Definition: n_svd.h:56
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...
const Matrix & u() const
const getter for SVD left factor
Definition: n_svd.cpp:63
void compute_svd(const kjb_c::Matrix *pa)
wrap call to C library.
Definition: n_svd.cpp:29