Class CeresSolver.AutoDiffCostFunction<CostFunctor>

    • Field Detail

      • kNumResiduals

        private int kNumResiduals
      • num_residuals

        private int num_residuals
    • Constructor Detail

      • AutoDiffCostFunction

        public AutoDiffCostFunction​(CostFunctor functor,
                                    int kNumResiduals,
                                    int N0,
                                    int N1,
                                    int N2,
                                    int N3,
                                    int N4,
                                    int N5,
                                    int N6,
                                    int N7,
                                    int N8,
                                    int N9)
      • AutoDiffCostFunction

        public AutoDiffCostFunction​(CostFunctor functor,
                                    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 class CeresSolver.CostFunction