org.apache.commons.math.linear |
Linear algebra support.
|
Java Source File Name | Type | Comment |
BigMatrix.java | Interface | Interface defining a real-valued matrix with basic algebraic operations, using
BigDecimal representations for the entries. |
BigMatrixImpl.java | Class | Implementation of
BigMatrix using a BigDecimal[][] array to store entries
and
LU decompostion to support linear system
solution and inverse.
The LU decompostion is performed as needed, to support the following operations:
- solve
- isSingular
- getDeterminant
- inverse
Usage notes:
-
The LU decomposition is stored and reused on subsequent calls.
|
BigMatrixImplTest.java | Class | Test cases for the
BigMatrixImpl class. |
InvalidMatrixException.java | Class | Thrown when a system attempts an operation on a matrix, and
that matrix does not satisfy the preconditions for the
aforementioned operation. |
InvalidMatrixExceptionTest.java | Class | |
MatrixIndexException.java | Class | Thrown when an operation addresses a matrix coordinate (row,col)
which is outside of the dimensions of a matrix. |
MatrixIndexExceptionTest.java | Class | |
MatrixUtils.java | Class | A collection of static methods that operate on or return matrices. |
MatrixUtilsTest.java | Class | Test cases for the
MatrixUtils class. |
RealMatrix.java | Interface | Interface defining a real-valued matrix with basic algebraic operations. |
RealMatrixImpl.java | Class | Implementation of RealMatrix using a double[][] array to store entries and
LU decompostion to support linear system
solution and inverse.
The LU decompostion is performed as needed, to support the following operations:
- solve
- isSingular
- getDeterminant
- inverse
Usage notes:
-
The LU decomposition is cached and reused on subsequent calls.
|
RealMatrixImplTest.java | Class | Test cases for the
RealMatrixImpl class. |