/* Gaussian Elimination with Partial Pivoting (GEPP) */ #include #include #include #define N 5 #define SWAP(type,x,y) {type temp; temp=x; x=y; y=temp;} typedef float real; /* Print a vector of reals as one row. */ static void print_vector( const char *title, real *x, int n) { int i; printf("%s (dim=%d): ", title, n); for(i=0; i=0; k--){ for(j=k+1; j=0; k-- ) for( n=0; n=0; k--){ for(j=k+1; j