 BUGS.orig Wed Sep 19 11:32:15 2001
+++ BUGS Wed Sep 19 09:37:14 2001
@@ 1,4 +1,4 @@
mtrxmath v1.0.1 BUGS file
+mtrxmath v1.0.2 BUGS file
There is a problem with the file loading function that people outside
of the US have had, it's being looked into. It works fine for me. The
 CHANGELOG.orig Wed Sep 19 11:32:15 2001
+++ CHANGELOG Wed Sep 19 09:36:23 2001
@@ 1,6 +1,12 @@
mtrxmath  A Matrix Mathematics Package
CHANGELOG
+v1.0.2  Marco sent in a patch that really fixed the negative
+ position error I was having. I also added a TODO file
+ for things people asked me about, that I will at least
+ consider. I have been a little lax on this project in
+ the past few months, but I intend to continue work on it.
+
v1.0.1  Fixed the Inversion method I was using. It was returning
a negativetranspostion of the real answer, the fix is kind
of confusing, and I'm not sure I like it, but it works.
 CONTRIBUTORS.orig Wed Sep 19 11:32:15 2001
+++ CONTRIBUTORS Wed Sep 19 09:37:33 2001
@@ 1,4 +1,4 @@
mtrxmath v0.9.7 CONTRIBUTORS file
+mtrxmath v1.0.2 CONTRIBUTORS file
Maintainer:
Jeff Craig (luserjeff@linuxfreemail.com)
@@ 10,6 +10,7 @@
Florian Forster (postmaster@htmlstyle.de)
Joel Stabis (joel.stabis@home.se)
Mark (edgar@uswest.net)
+ Marco (magicdice@inwind.it)
Contributors whose code is being examined:
Richard James (rkjames@uvic.ca)
 Makefile.orig Wed Sep 19 11:32:15 2001
+++ Makefile Sun Apr 8 19:26:51 2001
@@ 1,8 +1,10 @@
+# Edited for Debian GNU/Linux
+DESTDIR=
CFLAGS=Wall
IFLAGS=owner=root group=root
BASEPATH=/usr/local
+BASEPATH=${DESTDIR}/usr
BINPATH=${BASEPATH}/bin
MANPATH=${BASEPATH}/man/man1
+MANPATH=${BASEPATH}/share/man/man1
SRCS=add.c mtrxmath.c mult.c sub.c inverse.c
 README.orig Wed Sep 19 11:32:15 2001
+++ README Wed Sep 19 09:37:04 2001
@@ 1,4 +1,4 @@
README for mtrxmath Version 1.0.1
+README for mtrxmath Version 1.0.2
Maintained by Jeff Craig
This project is licensed under the GPL (See COPYING file),and is free
 inverse.c.orig Wed Sep 19 11:32:15 2001
+++ inverse.c Wed Sep 19 09:30:28 2001
@@ 56,6 +56,11 @@
/*
* Determinant
* Solve the determinant of a matrix
+ *
+ * Yes, I know this uses the Cramer's Method of finding a
+ * determinate, and that Gaussian would be better. I'm
+ * looking into implementing a Gaussian function, but for
+ * now this works.
*/
float determinant ( MATRIX_PTR matrix )
@@ 114,7 +119,7 @@
for ( col=0; colcolumns; col++ ) {
/*
This looks kind of confusing. All it does is take the
 inverse and multiply each square by the determiniant that
+ inverse and multiply each square by the determinant that
is reduced around the spot the matrix is being reduced by
For Instance:
@@ 127,15 +132,11 @@
G I
*/
tmp = reduce_matrix(row,col,matrix);
 inverse>matrix[col][row] = determinant(tmp);
+ if ((row+col)%2 == 0) sign = 1;
+ else sign = 1;
+ inverse>matrix[col][row] = sign * determinant(tmp);
free_matrix(tmp);
 }
 }

 for ( row=0; rowrows; row++ ) {
 for (col=0; colcolumns; col++, sign*=1 ) {
 inverse>matrix[row][col] *= sign;
}
}
 mtrxmath.h.orig Wed Sep 19 11:32:15 2001
+++ mtrxmath.h Wed Sep 19 09:31:44 2001
@@ 32,8 +32,7 @@
typedef struct MATRIX_TAG
{
 float** matrix; // I (the Maintainer) don't understand this
 // as of yet, but it works
+ float** matrix; // The actual values of the Matrix
unsigned int rows; // Number of Rows in the Matrix
unsigned int columns; // Number of columns in the Matrix
} MATRIX, *MATRIX_PTR;