Package org.la4j.linear
Class LeastNormSolver
java.lang.Object
org.la4j.linear.AbstractSolver
org.la4j.linear.LeastNormSolver
- All Implemented Interfaces:
Serializable,LinearSystemSolver
This class provides solution of "fat" linear system with least euclidean norm.
See details
- See Also:
-
Field Summary
Fields inherited from class org.la4j.linear.AbstractSolver
a, equations, unknowns -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplicableTo(Matrix matrix) Checks whether this solver applicable to givenmatrixor not.Solves the system A*x = b.Methods inherited from class org.la4j.linear.AbstractSolver
ensureRHSIsCorrect, equations, fail, self, unknownsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.la4j.linear.LinearSystemSolver
equations, self, unknowns
-
Constructor Details
-
LeastNormSolver
-
-
Method Details
-
solve
Description copied from interface:LinearSystemSolverSolves the system A*x = b.- Specified by:
solvein interfaceLinearSystemSolver- Parameters:
b-- Returns:
-
applicableTo
Description copied from interface:LinearSystemSolverChecks whether this solver applicable to givenmatrixor not.- Specified by:
applicableToin interfaceLinearSystemSolver- Parameters:
matrix-
-