Class MatrixAlgorithm
- java.lang.Object
-
- cern.accsoft.steering.aloha.calc.algorithm.AbstractAlgorithm<MatrixSolver>
-
- cern.accsoft.steering.aloha.calc.algorithm.MatrixAlgorithm
-
- All Implemented Interfaces:
BeanAware,MachineElementsManagerAware,SensitivityMatrixManagerAware,VariationDataAware,Algorithm
public class MatrixAlgorithm extends AbstractAlgorithm<MatrixSolver> implements Algorithm
-
-
Constructor Summary
Constructors Constructor Description MatrixAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Jama.Matrixcalc()just performs one step of calculation.protected voiddoReset()this method must be overridden by the subclass.-
Methods inherited from class cern.accsoft.steering.aloha.calc.algorithm.AbstractAlgorithm
getMachineElementsManager, getSensitivityMatrixManager, getSolver, getVariationData, reset, setMachineElementsManager, setSensitivityMatrixManager, setSolver, setVariationData
-
-
-
-
Method Detail
-
calc
public Jama.Matrix calc() throws CalculatorExceptionjust performs one step of calculation.- Specified by:
calcin interfaceAlgorithm- Returns:
- the resulting vector
- Throws:
CalculatorException- if the system of equations cannot be solved
-
doReset
protected void doReset()
Description copied from class:AbstractAlgorithmthis method must be overridden by the subclass. Here some specific internal reste-procedures can be placed.- Specified by:
doResetin classAbstractAlgorithm<MatrixSolver>
-
-