Académique Documents
Professionnel Documents
Culture Documents
h"
int val_abs(int n)
{
if(n<0) {return -n;}
else {return n;}
}
//definition de la matrice
int **NewMat(int nlignes,int ncolonnes) {
// The AranoR Tuch ////////////
int **mat;
mat=(int**)malloc(nlignes*sizeof(int*));
printf("| ");
for(int j=0;j<colonne;j++) {
if(j!=colonne-1) {
if(m[i][j]>=0 && j) {printf(" + ");}
printf("%3d*X%d",m[i][j],j);
}
else {printf("=%3d (L%d)",m[i][j],i);}
}
putchar('\n');
}
printf(" \\ \n");
}
return res;
}