Package org.hipparchus.linear
Class SingularValueDecomposer
- java.lang.Object
-
- org.hipparchus.linear.SingularValueDecomposer
-
- All Implemented Interfaces:
MatrixDecomposer
public class SingularValueDecomposer extends Object implements MatrixDecomposer
Matrix decomposer using Singular Value Decomposition.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description SingularValueDecomposer()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecompositionSolver
decompose(RealMatrix a)
Get a solver for finding the A × X = B solution in least square sense.
-
-
-
Method Detail
-
decompose
public DecompositionSolver decompose(RealMatrix a)
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
-
-