Package org.hipparchus.linear
Class LUDecomposer
- java.lang.Object
-
- org.hipparchus.linear.LUDecomposer
-
- All Implemented Interfaces:
MatrixDecomposer
public class LUDecomposer extends Object implements MatrixDecomposer
Matrix decomposer using LU-decomposition.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description LUDecomposer(double singularityThreshold)
Creates a LU decomposer with specify threshold for several matrices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecompositionSolver
decompose(RealMatrix a)
Get a solver for finding the A × X = B solution in least square sense.
-
-
-
Method Detail
-
decompose
public DecompositionSolver decompose(RealMatrix a)
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
-
-