Package org.hipparchus.linear
Class QRDecomposer
java.lang.Object
org.hipparchus.linear.QRDecomposer
- All Implemented Interfaces:
MatrixDecomposer
Matrix decomposer using QR-decomposition.
- Since:
- 1.3
-
Constructor Summary
ConstructorDescriptionQRDecomposer
(double singularityThreshold) Creates a QR decomposer with specify threshold for several matrices. -
Method Summary
Modifier and TypeMethodDescriptionGet a solver for finding the A × X = B solution in least square sense.
-
Constructor Details
-
QRDecomposer
public QRDecomposer(double 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 Details
-
decompose
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
-