Class CeresSolver.Program

  • Enclosing class:
    CeresSolver

    class CeresSolver.Program
    extends java.lang.Object
    • Constructor Detail

      • Program

        public Program()
    • Method Detail

      • NumResidualBlocks

        public int NumResidualBlocks()
      • NumParameterBlocks

        public int NumParameterBlocks()
      • NumResiduals

        public int NumResiduals()
      • NumParameters

        public int NumParameters()
      • NumEffectiveParameters

        public int NumEffectiveParameters()
      • SetParameterBlockStatePtrsToUserStatePtrs

        public boolean SetParameterBlockStatePtrsToUserStatePtrs()
      • ParameterBlocksAreFinite

        public boolean ParameterBlocksAreFinite​(java.lang.String[] message)
      • IsFeasible

        public boolean IsFeasible​(java.lang.String[] message)
      • IsBoundsConstrained

        public boolean IsBoundsConstrained()
      • CreateReducedProgram

        public CeresSolver.Program CreateReducedProgram​(java.util.Vector<double[]> removed_parameter_blocks,
                                                        double[] fixed_cost,
                                                        java.lang.String[] error)
      • RemoveFixedBlocks

        public boolean RemoveFixedBlocks​(java.util.Vector<double[]> removed_parameter_blocks,
                                         double[] fixed_cost,
                                         java.lang.String[] error)
      • MaxScratchDoublesNeededForEvaluate

        public int MaxScratchDoublesNeededForEvaluate()
      • SetParameterOffsetsAndIndex

        public void SetParameterOffsetsAndIndex()
      • ParameterBlocksToStateVector

        public void ParameterBlocksToStateVector​(java.util.Vector<java.lang.Double> state)
      • ParameterBlocksToStateVector

        public void ParameterBlocksToStateVector​(double[] state)
      • MaxParametersPerResidualBlock

        public int MaxParametersPerResidualBlock()
      • MaxResidualsPerResidualBlock

        public int MaxResidualsPerResidualBlock()
      • MaxDerivativesPerResidualBlock

        public int MaxDerivativesPerResidualBlock()
      • IsParameterBlockSetIndependent

        public boolean IsParameterBlockSetIndependent​(java.util.Set<double[]> independent_set)
      • Plus

        private boolean Plus​(java.util.Vector<java.lang.Double> state,
                             java.util.Vector<java.lang.Double> delta,
                             java.util.Vector<java.lang.Double> state_plus_delta)
      • StateVectorToParameterBlocks

        public boolean StateVectorToParameterBlocks​(java.util.Vector<java.lang.Double> state)
      • StateVectorToParameterBlocks

        public boolean StateVectorToParameterBlocks​(double[] state)
      • CopyParameterBlockStateToUserState

        public void CopyParameterBlockStateToUserState()