Package org.hipparchus.linear
Class LUDecomposer
java.lang.Object
org.hipparchus.linear.LUDecomposer
- All Implemented Interfaces:
MatrixDecomposer
Matrix decomposer using LU-decomposition.
- Since:
- 1.3
-
Constructor Summary
ConstructorDescriptionLUDecomposer
(double singularityThreshold) Creates a LU decomposer with specify threshold for several matrices. -
Method Summary
Modifier and TypeMethodDescriptionGet a solver for finding the A × X = B solution in least square sense.
-
Constructor Details
-
LUDecomposer
public LUDecomposer(double singularityThreshold) Creates a LU decomposer with specify threshold for several matrices.- Parameters:
singularityThreshold
- threshold (based on partial row norm) under which a matrix is considered singular
-
-
Method Details
-
decompose
Get a solver for finding the A × X = B solution in least square sense.- Specified by:
decompose
in interfaceMatrixDecomposer
- Parameters:
a
- coefficient matrix A to decompose- Returns:
- a solver
-