modified autogen.sh to remove reference to osl/
[converter.git] / tests / c_files / gauss.c
blob2f131d418ea7358f84ff6aacf477d5753387e02a
1 int n;
3 void main(void)
5 int i,j,k,l;
6 double **a,s;
8 #pragma scop
9 for(k = 1; k <= n; k++)
11 s = 1/a[k][k];
13 for(l = k+1; l <= n; l++)
14 a[l][k] = a[l][k]*s;
16 for(j = k+1; j <= n+1; j++)
17 for(i = k+1; i <= n; i++)
18 a[i][j] = a[i][j] - a[k][j] * a[i][k];
20 #pragma endscop