/* Simple matrix manipulation routines */ /* Jan 25 2003 Example 10 */ #include #include #include #include #include #define SIZE 3 /* include a user-constructed header in working directory */ #include"matrix.h" double a[SIZE][SIZE], c[SIZE][SIZE]; int n,m; char label[10]; int main(){ /* here is one way to initialize matrices */ sprintf(label,"%s", "DATA"); Mread(a,"DATA", 3); /* c=a^{-1} */ Minv(a,c,12); for(n=0;n