template<class ArrayT>
Definition at line 23 of file MatPInv.h. References MatNrCol(), MatNrRow(), MatSVD(), and MatTranspose(). 00024 { 00025 int m = MatNrRow(a); 00026 int n = MatNrCol(a); 00027 00028 if(n > m) 00029 return MatTranspose(MatPInv(MatTranspose(a), tolerance)); 00030 00031 Mat* u=0; 00032 Mat* s=0; 00033 Mat* v=0; 00034 00035 MatSVD(a, u, s, v); 00036 Mat* res= MatPInv(a,u,s,v,tolerance); 00037 00038 delete u; 00039 delete s; 00040 delete v; 00041 00042 return res; 00043 }
Here is the call graph for this function:
|