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
Constructors Constructor Description FieldQRDecomposer(T singularityThreshold)
Creates a QR decomposer with specify threshold 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.
-
-
-
Constructor Detail
-
FieldQRDecomposer
public FieldQRDecomposer(T singularityThreshold)
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 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 CalculusFieldElement<T>>
- Parameters:
a
- coefficient matrix A to decompose- Returns:
- a solver
-
-