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
class CeresSolverTest.QuadraticTestFunction extends CeresSolver.FirstOrderFunction
-
-
Field Summary
Fields Modifier and Type Field Description private boolean[]
flag_to_set_on_destruction_
-
Constructor Summary
Constructors Constructor Description QuadraticTestFunction(boolean[] flag_to_set_on_destruction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Evaluate(double[] parameters, double[] cost, double[] gradient)
void
finalize()
int
NumParameters()
-
-
-
Method Detail
-
finalize
public void finalize()
- Overrides:
finalize
in classCeresSolver.FirstOrderFunction
-
Evaluate
public boolean Evaluate(double[] parameters, double[] cost, double[] gradient)
- Specified by:
Evaluate
in classCeresSolver.FirstOrderFunction
-
NumParameters
public int NumParameters()
- Specified by:
NumParameters
in classCeresSolver.FirstOrderFunction
-
-