Package gov.nih.mipav.model.algorithms
Class CeresSolver.NumericDiffCostFunction<CostFunctor>
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolver.SizedCostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolver.NumericDiffCostFunction<CostFunctor>
-
- Enclosing class:
- CeresSolver
class CeresSolver.NumericDiffCostFunction<CostFunctor> extends CeresSolver.SizedCostFunction
-
-
Field Summary
Fields Modifier and Type Field Description private CostFunctor
functor_
private int
kNumResiduals
private CeresSolver.NumericDiffMethodType
method
private int
N0
private int
N1
private int
N2
private int
N3
private int
N4
private int
N5
private int
N6
private int
N7
private int
N8
private int
N9
private int
num_residuals
private CeresSolver.NumericDiffOptions
options_
private CeresSolver.Ownership
ownership_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
parameter_block_sizes_
-
-
Constructor Summary
Constructors Constructor Description NumericDiffCostFunction(CostFunctor functor, CeresSolver.NumericDiffMethodType method, CeresSolver.Ownership ownership, CeresSolver.NumericDiffOptions options, int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9)
NumericDiffCostFunction(CostFunctor functor, CeresSolver.NumericDiffMethodType method, CeresSolver.Ownership ownership, CeresSolver.NumericDiffOptions options, int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9, int num_residuals)
-
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[] jacobians_offset)
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.SizedCostFunction
finalize
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
AddParameterBlock, mutable_parameter_block_sizes, num_residuals, parameter_block_sizes, set_num_residuals, set_parameter_block_sizes, SetNumResiduals
-
-
-
-
Field Detail
-
functor_
private CostFunctor functor_
-
method
private CeresSolver.NumericDiffMethodType method
-
ownership_
private CeresSolver.Ownership ownership_
-
options_
private CeresSolver.NumericDiffOptions options_
-
kNumResiduals
private int kNumResiduals
-
num_residuals
private int num_residuals
-
N0
private int N0
-
N1
private int N1
-
N2
private int N2
-
N3
private int N3
-
N4
private int N4
-
N5
private int N5
-
N6
private int N6
-
N7
private int N7
-
N8
private int N8
-
N9
private int N9
-
-
Constructor Detail
-
NumericDiffCostFunction
public NumericDiffCostFunction(CostFunctor functor, CeresSolver.NumericDiffMethodType method, CeresSolver.Ownership ownership, CeresSolver.NumericDiffOptions options, int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9)
-
NumericDiffCostFunction
public NumericDiffCostFunction(CostFunctor functor, CeresSolver.NumericDiffMethodType method, CeresSolver.Ownership ownership, CeresSolver.NumericDiffOptions options, int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9, int num_residuals)
-
-
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[] jacobians_offset)
- Overrides:
Evaluate
in classCeresSolver.CostFunction
-
-