Package gov.nih.mipav.model.algorithms
Class CeresSolver.GradientCheckingCostFunction
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
gov.nih.mipav.model.algorithms.CeresSolver.GradientCheckingCostFunction
- Enclosing class:
CeresSolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate CeresSolver.CostFunctionprivate CeresSolver.GradientCheckerprivate doubleFields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
parameter_block_sizes_ -
Constructor Summary
ConstructorsConstructorDescriptionGradientCheckingCostFunction(CeresSolver.CostFunction function, Vector<CeresSolver.LocalParameterization> local_parameterizations, CeresSolver.NumericDiffOptions options, double relative_precision, String extra_info, CeresSolver.GradientCheckingIterationCallback callback) -
Method Summary
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
AddParameterBlock, finalize, mutable_parameter_block_sizes, num_residuals, parameter_block_sizes, set_num_residuals, set_parameter_block_sizes, SetNumResiduals
-
Field Details
-
function_
-
gradient_checker_
-
relative_precision_
private double relative_precision_ -
extra_info_
-
callback_
-
-
Constructor Details
-
GradientCheckingCostFunction
public GradientCheckingCostFunction(CeresSolver.CostFunction function, Vector<CeresSolver.LocalParameterization> local_parameterizations, CeresSolver.NumericDiffOptions options, double relative_precision, String extra_info, CeresSolver.GradientCheckingIterationCallback callback)
-
-
Method Details
-
Evaluate
- Overrides:
Evaluatein classCeresSolver.CostFunction
-
Evaluate
public boolean Evaluate(Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobian_offsets) - Overrides:
Evaluatein classCeresSolver.CostFunction
-