#include #include /* Matrix A is specified as a[row][column]; that is a[row] is a pointer to an array that contains all the values for that row. */ #define SMALL 1.0e-100 double ** init_pivot(dimension,rows) /* Initializes the system solver by providing an array to place the augmented matrix in. Also holds the original row order for use by reaugment(). */ int dimension; int **rows; { double **temp_ptr; int i; temp_ptr = (double **) malloc(sizeof(double *)*dimension); rows[0] = (int *) malloc(4*dimension); for (i=0; i=0; i--) { sum = 0.0; for (j=i+1; j