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
Constructors Constructor Description FieldLUDecomposer(Predicate<T> zeroChecker)
Creates a LU decomposer with specific zero checker for several matrices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDecompositionSolver<T>
decompose(FieldMatrix<T> a)
Get a solver for finding the A × X = B solution in least square sense.
-
-
-
Method Detail
-
decompose
public FieldDecompositionSolver<T> decompose(FieldMatrix<T> a)
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
-
-