00001 #ifndef SVD_H_ 00002 #define SVD_H_ 00003 00004 #include <Matrix.h> 00005 00006 00007 // A wrapper for the lapack function dgesvd_ 00008 00009 int svd(Matrix<double> A, Matrix<double> * U, Matrix<double> * S, Matrix<double> * V, char jobu = 'A', char jobvt='A'); 00010 00011 int svd(const Matrix<double> A, Matrix<double> * S); 00012 00013 int svd(const Matrix<double> A, Row<double> * S); 00014 00015 Row<double> svd(Matrix<double> A); 00016 00017 #endif // SVD_H_