Class CeresSolverTest.CurveCostFunction

    • Field Detail

      • num_vertices_

        private int num_vertices_
      • target_length_

        private double target_length_
    • Constructor Detail

      • CurveCostFunction

        public CurveCostFunction​(int num_vertices,
                                 double target_length)
    • Method Detail

      • Evaluate

        public boolean Evaluate​(java.util.Vector<double[]> parameters,
                                double[] residuals,
                                double[][] jacobians)
        Overrides:
        Evaluate in class CeresSolver.CostFunction
      • Evaluate

        public boolean Evaluate​(java.util.Vector<double[]> parameters,
                                double[] residuals,
                                double[][] jacobians,
                                int[] jacobians_offset)
        Overrides:
        Evaluate in class CeresSolver.CostFunction