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
class CeresSolver.GradientCheckingCostFunction extends CeresSolver.CostFunction
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.GradientCheckingIterationCallback
callback_
private java.lang.String
extra_info_
private CeresSolver.CostFunction
function_
private CeresSolver.GradientChecker
gradient_checker_
private double
relative_precision_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
parameter_block_sizes_
-
-
Constructor Summary
Constructors Constructor Description GradientCheckingCostFunction(CeresSolver.CostFunction function, java.util.Vector<CeresSolver.LocalParameterization> local_parameterizations, CeresSolver.NumericDiffOptions options, double relative_precision, java.lang.String extra_info, CeresSolver.GradientCheckingIterationCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobian_offsets)
-
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 Detail
-
function_
private CeresSolver.CostFunction function_
-
gradient_checker_
private CeresSolver.GradientChecker gradient_checker_
-
relative_precision_
private double relative_precision_
-
extra_info_
private java.lang.String extra_info_
-
callback_
private CeresSolver.GradientCheckingIterationCallback callback_
-
-
Constructor Detail
-
GradientCheckingCostFunction
public GradientCheckingCostFunction(CeresSolver.CostFunction function, java.util.Vector<CeresSolver.LocalParameterization> local_parameterizations, CeresSolver.NumericDiffOptions options, double relative_precision, java.lang.String extra_info, CeresSolver.GradientCheckingIterationCallback callback)
-
-
Method Detail
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
- Overrides:
Evaluate
in classCeresSolver.CostFunction
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobian_offsets)
- Overrides:
Evaluate
in classCeresSolver.CostFunction
-
-