Package org.hipparchus.linear
Class FieldLUDecomposer<T extends FieldElement<T>>
java.lang.Object
org.hipparchus.linear.FieldLUDecomposer<T>
- Type Parameters:
T
- the type of the field elements
- All Implemented Interfaces:
FieldMatrixDecomposer<T>
public class FieldLUDecomposer<T extends FieldElement<T>>
extends Object
implements FieldMatrixDecomposer<T>
Matrix decomposer using LU-decomposition.
- Since:
- 2.2
-
Constructor Summary
ConstructorDescriptionFieldLUDecomposer
(Predicate<T> zeroChecker) Creates a LU decomposer with specific zero checker for several matrices. -
Method Summary
Modifier and TypeMethodDescriptiondecompose
(FieldMatrix<T> a) Get a solver for finding the A × X = B solution in least square sense.
-
Constructor Details
-
FieldLUDecomposer
Creates a LU decomposer with specific zero checker for several matrices.- Parameters:
zeroChecker
- checker for zero elements
-
-
Method Details
-
decompose
Get a solver for finding the A × X = B solution in least square sense.- Specified by:
decompose
in interfaceFieldMatrixDecomposer<T extends FieldElement<T>>
- Parameters:
a
- coefficient matrix A to decompose- Returns:
- a solver
-