Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.QuadraticTestFunction
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.FirstOrderFunction
gov.nih.mipav.model.algorithms.CeresSolverTest.QuadraticTestFunction
- Enclosing class:
CeresSolverTest
-
Field Details
-
flag_to_set_on_destruction_
private boolean[] flag_to_set_on_destruction_
-
-
Constructor Details
-
QuadraticTestFunction
public QuadraticTestFunction(boolean[] flag_to_set_on_destruction)
-
-
Method Details
-
finalize
public void finalize()- Overrides:
finalizein classCeresSolver.FirstOrderFunction
-
Evaluate
public boolean Evaluate(double[] parameters, double[] cost, double[] gradient) - Specified by:
Evaluatein classCeresSolver.FirstOrderFunction
-
NumParameters
public int NumParameters()- Specified by:
NumParametersin classCeresSolver.FirstOrderFunction
-