Package org.hipparchus.linear
Class FieldQRDecomposer<T extends CalculusFieldElement<T>>
java.lang.Object
org.hipparchus.linear.FieldQRDecomposer<T>
- Type Parameters:
T
- the type of the field elements
- All Implemented Interfaces:
FieldMatrixDecomposer<T>
public class FieldQRDecomposer<T extends CalculusFieldElement<T>>
extends Object
implements FieldMatrixDecomposer<T>
Matrix decomposer using QR-decomposition.
- Since:
- 2.2
-
Constructor Summary
ConstructorDescriptionFieldQRDecomposer
(T singularityThreshold) Creates a QR decomposer with specify threshold 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
-
FieldQRDecomposer
Creates a QR 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 interfaceFieldMatrixDecomposer<T extends CalculusFieldElement<T>>
- Parameters:
a
- coefficient matrix A to decompose- Returns:
- a solver
-