/* matmul.c 100*100 matrix multiply */ #include #define N 100 /* SGI C89 will not use const N = 100; below. YUK! */ int main() { /* const N = 100; this should work, but doesn't on SGI */ double a[N][N]; /* input matrix */ double b[N][N]; /* input matrix */ double c[N][N]; /* result matrix */ int i,j,k; /* initialize */ for(i=0; i