Class MatrixSolverBase01
java.lang.Object
de.tilman_neumann.jml.factor.base.matrixSolver.MatrixSolver
de.tilman_neumann.jml.factor.base.matrixSolver.MatrixSolverBase01
- Direct Known Subclasses:
MatrixSolver_Gauss01
public abstract class MatrixSolverBase01 extends MatrixSolver
Base implementation for a congruence equation system (the "LinAlg phase matrix") solver.
-
Constructor Summary
Constructors Constructor Description MatrixSolverBase01()
-
Method Summary
Modifier and Type Method Description void
solve(java.util.Collection<? extends Smooth> congruences)
Main method to solve a congruence equation system.protected abstract void
solve(java.util.List<Smooth> congruences, java.util.Map<java.lang.Integer,java.lang.Integer> factors_2_columnIndices)
Create the matrix from the pre-processed congruences and solve it.Methods inherited from class de.tilman_neumann.jml.factor.base.matrixSolver.MatrixSolver
cleanUp, getName, getTestedNullVectorCount, initialize, processNullVector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MatrixSolverBase01
public MatrixSolverBase01()
-
-
Method Details
-
solve
Main method to solve a congruence equation system.- Specified by:
solve
in classMatrixSolver
- Parameters:
congruences
- the congruences forming the equation system- Throws:
FactorException
- if a factor of N was found
-
solve
protected abstract void solve(java.util.List<Smooth> congruences, java.util.Map<java.lang.Integer,java.lang.Integer> factors_2_columnIndices) throws FactorExceptionCreate the matrix from the pre-processed congruences and solve it.- Parameters:
congruences
-factors_2_columnIndices
- map from factors to matrix column indices- Throws:
FactorException
-