Remove `set`, making constructed matrix objects truly immutable.
Remove `set`, making constructed matrix objects truly immutable.
Throw exceptions on modification through ArrayAccess
Rename `eq` to `equals`.
Clean up Cholesky a bit.
Adding array conversion function.
Taking isSquare public.
Adding an (untested) translation of an LUP decomposition method.
Document `toArray`
Minor doc cleanup.
added phpunit xml config file in order to bootstrap composer's autoload file
Merge branch 'develop' of https://github.com/thominj/LinearAlgebra into develop
Added LU decomposition class that performs the LU decomposition on a given Matrix and will provide utility methods for working with the LU decomposition.
fixed indentation
switched matrix::determinant to use LUDecomposition
put 1 x 1 case and square pre-check back into Matrix::determinant()
fixed error caused by not initializing determinant
Implemented solve method on LU Decomposition for solving sets of equations of the form Ax = b, where b is a vector of knowns. Also converted to using actual instead of virtual row pivoting in LUDecomp() method because the virtual pivots were too hard to keep track of and we still don't know if it would actually provide any benefit.
Code and comment cleanup
added LU Decomposition::inverse() method. Also changed solve() method to use regular arrays instead of vectors as the argument and return value, to reduce the number of vcector instances needed.