00001 #ifndef __UTILS_QR__ 00002 #define __UTILS_QR__ 00003 00004 /* Compute the QR decomposition of a matrix 00005 by the Gram-Schmidt Algo. 00006 00007 At the end of the routine the matrix a is q! 00008 */ 00009 #include "../Matrix3.h" 00010 const float qr_eps = 1e-6; 00011 void qr_decomp(Matrix3 &a, Matrix3 &r); 00012 00013 #endif // __UTILS_QR__