Package org.la4j.linear
Class LeastNormSolver
- java.lang.Object
-
- org.la4j.linear.AbstractSolver
-
- org.la4j.linear.LeastNormSolver
-
- All Implemented Interfaces:
java.io.Serializable
,LinearSystemSolver
public class LeastNormSolver extends AbstractSolver implements LinearSystemSolver
This class provides solution of "fat" linear system with least euclidean norm. See details- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.la4j.linear.AbstractSolver
a, equations, unknowns
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LeastNormSolver(Matrix a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applicableTo(Matrix matrix)
Checks whether this solver applicable to givenmatrix
or not.Vector
solve(Vector b)
Solves the system A*x = b.-
Methods inherited from class org.la4j.linear.AbstractSolver
ensureRHSIsCorrect, equations, fail, self, unknowns
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.la4j.linear.LinearSystemSolver
equations, self, unknowns
-
-
-
-
Constructor Detail
-
LeastNormSolver
protected LeastNormSolver(Matrix a)
-
-
Method Detail
-
solve
public Vector solve(Vector b)
Description copied from interface:LinearSystemSolver
Solves the system A*x = b.- Specified by:
solve
in interfaceLinearSystemSolver
- Returns:
-
applicableTo
public boolean applicableTo(Matrix matrix)
Description copied from interface:LinearSystemSolver
Checks whether this solver applicable to givenmatrix
or not.- Specified by:
applicableTo
in interfaceLinearSystemSolver
-
-