Assignments
Assignments
SVD.h
Go to the documentation of this file.
1
2//
3// SVD.h
4//
5// Abstract: Singular-Value Decomposition. Numerous informative comments
6// througout code.
7//
8// Revision History Abstract:
9// xxJul1989 Ronen Barzel Initial code
10// xxFeb1990 Ronen Barzel Bug fixes
11// xxMay1993 Ronen Barzel ANSI-C backsubst
12// 21Jul1997 ChuckR Fix array bound error in underdetermined case
13// 13Apr1999 ChuckR Templatize and decryptify the code (somewhat)
15
16#ifndef _032E05C2_F193_11d2_B8F2_00C04F6881C7
17#define _032E05C2_F193_11d2_B8F2_00C04F6881C7
18
19
20template <class REAL>
21 void num_svd(const REAL *a,int m,int n,REAL *u,REAL *w,REAL *vt);
22
23template <class REAL>
24 void num_svd_backsubst(int m, int n, const REAL *u, const REAL *w, const REAL *vt,
25 const REAL b[], REAL x[], REAL eps);
26
27
28#include "SVD.inl"
29
30#endif // _032E05C2_F193_11d2_B8F2_00C04F6881C7
void num_svd(const REAL *a, int m, int n, REAL *u, REAL *w, REAL *vt)
Definition: SVD.inl:728
void num_svd_backsubst(int m, int n, const REAL *u, const REAL *w, const REAL *vt, const REAL b[], REAL x[], REAL eps)
Definition: SVD.inl:791
const double eps
Definition: poly34.cpp:13