#ifndef LIB_SVD_H_INCLUDED #define LIB_SVD_H_INCLUDED #include typedef std::vector > mat_t; typedef std::vector vec_t; typedef std::vector::iterator iter_t; //! Compute the largest singular value by the power method //! WARNING : tX is transposed!!! double svd_trunc(mat_t &tX, vec_t &U, vec_t &V); #endif // LIB_SVD_H_INCLUDED