My Project
SVDFit.h
1 //
3 // SVDFit.h
4 //
5 // Copyright Microsoft Corporation
6 //
7 // Microsoft Research Graphics Group
8 // Kineform Project
9 //
10 // Abstract: Header for SVDFit routine. This wraps up the lower level SVD
11 // stuff from Ronen Barzel. This is the leve of abstraction used
12 // by the outside system.
13 //
14 // Revision History Abstract:
15 // 21May1996 ChuckR Initial code start
16 // 13Apr1999 ChuckR Templatize and conform to Kineform project style
17 // 25Jul1999 ppsloan SVDMat/Apply added - for saving the SVD of a matrix
19 
20 #ifndef _032E05C3_F193_11d2_B8F2_00C04F6881C7
21 #define _032E05C3_F193_11d2_B8F2_00C04F6881C7
22 
23 #include "MatrixMNTC.h"
24 
25 #include "SVD.h"
26 
27 template <class REAL>
28 void SVDFit (GXMatrixMNTC<REAL>& A, GXMatrixMNTC<REAL>& vals,
29  GXMatrixMNTC<REAL>& coeffs);
30 
31 template <class REAL>
32 void SVDMat(GXMatrixMNTC<REAL>& A, // input - matrix to apply SVD too...
33  GXMatrixMNTC<REAL>& u, // output - SVD of matrix A...
35  GXMatrixMNTC<REAL>& vt);
36 
37 template <class REAL>
38 void SVDApply(GXMatrixMNTC<REAL>& u, // input SVD of a matrix
41  GXMatrixMNTC<REAL>& vals, // input RHS
42  GXMatrixMNTC<REAL>& coefs);// output x from Ax=b
43 
44 #include "SVDFit.inl"
45 
46 #endif
Definition: MatrixMNTC.h:38