vkostyukov / la4j

Linear Algebra for Java
http://la4j.org
Apache License 2.0
371 stars 109 forks source link

Solving by LU decomposition #281

Closed emmanuj closed 2 years ago

emmanuj commented 7 years ago

I'm providing an convenience implementation for solving by LU Decomposition. This method is more efficient than Gaussian Elimination. (See Cormen et. al Introduction to Algorithms 3rd ed.)

Thanks to the fine architecture of la4j, it also works for sparse matrices by polymorphism. However, more experiments might be need to verify efficiency with the sparse matrices.