Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.MockCostFunctionBase
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolver.SizedCostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolverTest.MockCostFunctionBase
-
- Enclosing class:
- CeresSolverTest
class CeresSolverTest.MockCostFunctionBase extends CeresSolver.SizedCostFunction
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
parameter_block_sizes_
-
-
Constructor Summary
Constructors Constructor Description MockCostFunctionBase(int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9)
MockCostFunctionBase(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
-
-
-
-
Constructor Detail
-
MockCostFunctionBase
public MockCostFunctionBase(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)
-
MockCostFunctionBase
public MockCostFunctionBase(int kNumResiduals, int N0, int N1, int N2, int N3, int N4, int N5, int N6, int N7, int N8, int N9)
-
-
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
-
-