Started conjugate gradient solving routine. Nowhere near working now
Added a addition and subtraction routines. Also edited multiply,add,sub to include an option to not overwrite B and to just return a double* instead. Currently solveAxb fails on mSub() call. Also segfaults when trying to printMatrix() on B and mult of solveAxb. This is progress. I hope.
Fixed solveAxb(). Still doesnt solve. Yet. May rewrite this routine soon
Expanded on the solveAxb() routine. Does not compile! Multiple memory issues/leaks
Changed the multiply/add/subtract functions so that they will return a Matrix by default. This just makes more sense.
Compiles. When running test/solveAxB.test, it segfaults.
Added overloaded () operator so that it simplifies pulling a single number out of the matrix without having to do a getMatrix then get the number from the returned pointer. Usage: A(m,n) returns a double
Added overloaded addition operator and test for it. Works
Fixed bug in mMult()/doubleMatrix(). All tests pass
Fixed overloaded = operator. Removed memoy leak :D
Overloaded = broke some tests
Fixed some double frees
Fixed all double free()s
Fixed random crashes when trying to free a NULL pointer. Added a Bash script that can be used to run all the tests and print out which one fails
Second iteration of the solveAxB routine written. Compiles. NO test yet
Fixed readMatrix routine so that the file is only opened once. Made some shortcut routines for printing and reading
solveAxb runs and doesnt give an error. Test fails. Computes incorrect values
solveAxb does not return the correct values but it does run without errors
Fixed bug in mMult() that resulted in incorrect vector from matrix*vector
Fixed bug in mSub() that resulted in a dimention swap