Package gov.nih.mipav.model.algorithms
Class CeresSolver.GradientProblem
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.GradientProblem
-
- Enclosing class:
- CeresSolver
class CeresSolver.GradientProblem extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.FirstOrderFunction
function_
private CeresSolver.LocalParameterization
parameterization_
private double[]
scratch_
-
Constructor Summary
Constructors Constructor Description GradientProblem(CeresSolver.FirstOrderFunction function)
GradientProblem(CeresSolver.FirstOrderFunction function, CeresSolver.LocalParameterization parameterization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Evaluate(double[] parameters, double[] cost, double[] gradient)
void
finalize()
int
NumLocalParameters()
int
NumParameters()
boolean
Plus(double[] x, double[] delta, double[] x_plus_delta)
boolean
Plus(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> delta, java.util.Vector<java.lang.Double> x_plus_delta)
-
-
-
Field Detail
-
function_
private CeresSolver.FirstOrderFunction function_
-
parameterization_
private CeresSolver.LocalParameterization parameterization_
-
scratch_
private double[] scratch_
-
-
Constructor Detail
-
GradientProblem
public GradientProblem(CeresSolver.FirstOrderFunction function)
-
GradientProblem
public GradientProblem(CeresSolver.FirstOrderFunction function, CeresSolver.LocalParameterization parameterization)
-
-
Method Detail
-
finalize
public void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
NumParameters
public int NumParameters()
-
NumLocalParameters
public int NumLocalParameters()
-
Evaluate
public boolean Evaluate(double[] parameters, double[] cost, double[] gradient)
-
Plus
public boolean Plus(double[] x, double[] delta, double[] x_plus_delta)
-
Plus
public boolean Plus(java.util.Vector<java.lang.Double> x, java.util.Vector<java.lang.Double> delta, java.util.Vector<java.lang.Double> x_plus_delta)
-
-