Class CeresSolver.ResidualBlock

  • Enclosing class:
    CeresSolver

    class CeresSolver.ResidualBlock
    extends java.lang.Object
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • NumResiduals

        public int NumResiduals()
      • NumParameterBlocks

        public int NumParameterBlocks()
      • NumScratchDoublesForEvaluate

        public int NumScratchDoublesForEvaluate()
      • Evaluate

        public boolean Evaluate​(boolean apply_loss_function,
                                double[] cost,
                                double[] residuals,
                                double[][] jacobians,
                                double[] scratch)
      • Evaluate

        public boolean Evaluate​(boolean apply_loss_function,
                                double[] cost,
                                double[] residuals,
                                double[][] jacobians,
                                int[] jacobians_offset,
                                double[] scratch)
      • InvalidateEvaluation

        public void InvalidateEvaluation​(double[] cost,
                                         double[] residuals,
                                         double[][] jacobians)
      • InvalidateEvaluation

        public void InvalidateEvaluation​(double[] cost,
                                         double[] residuals,
                                         double[][] jacobians,
                                         int[] jacobians_offset)
      • IsEvaluationValid

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

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

        public java.lang.String EvaluationToString​(java.util.Vector<double[]> parameters,
                                                   double[] cost,
                                                   double[] residuals,
                                                   double[][] jacobians)
      • EvaluationToString

        public java.lang.String EvaluationToString​(java.util.Vector<double[]> parameters,
                                                   double[] cost,
                                                   double[] residuals,
                                                   double[][] jacobians,
                                                   int[] jacobians_offset)