Class CeresSolver.CostFunction

    • Field Detail

      • num_residuals_

        private int num_residuals_
      • parameter_block_sizes_

        protected java.util.Vector<java.lang.Integer> parameter_block_sizes_
    • Constructor Detail

      • CostFunction

        public CostFunction()
    • Method Detail

      • parameter_block_sizes

        public java.util.Vector<java.lang.Integer> parameter_block_sizes()
      • num_residuals

        public int num_residuals()
      • mutable_parameter_block_sizes

        protected java.util.Vector<java.lang.Integer> mutable_parameter_block_sizes()
      • set_num_residuals

        protected void set_num_residuals​(int num_residuals)
      • set_parameter_block_sizes

        protected void set_parameter_block_sizes​(java.util.Vector<java.lang.Integer> parameter_block_sizes)
      • AddParameterBlock

        protected void AddParameterBlock​(int size)
      • SetNumResiduals

        protected void SetNumResiduals​(int num_residuals)
      • Evaluate

        public boolean Evaluate​(java.util.Vector<double[]> parameters,
                                double[] residuals,
                                double[][] jacobians)
      • Evaluate

        public boolean Evaluate​(java.util.Vector<double[]> parameters,
                                double[] residuals,
                                double[][] jacobians,
                                int[] jacobians_offset)
      • finalize

        public void finalize()
        Overrides:
        finalize in class java.lang.Object