Class CeresSolver.ParameterBlock

  • Enclosing class:
    CeresSolver

    class CeresSolver.ParameterBlock
    extends java.lang.Object
    • Field Detail

      • i

        int i
      • j

        int j
      • user_state_

        private double[] user_state_
      • size_

        private int size_
      • is_constant_

        boolean is_constant_
      • state_

        double[] state_
      • state_start

        int state_start
      • local_parameterization_jacobian_

        double[][] local_parameterization_jacobian_
      • index_

        int index_
      • state_offset_

        int state_offset_
      • delta_offset_

        int delta_offset_
      • upper_bounds_

        double[] upper_bounds_
      • lower_bounds_

        double[] lower_bounds_
    • Constructor Detail

      • ParameterBlock

        public ParameterBlock​(double[] user_state,
                              int size,
                              int index)
    • Method Detail

      • Size

        public int Size()
      • LocalSize

        public int LocalSize()
      • SetConstant

        public void SetConstant()
      • SetVarying

        public void SetVarying()
      • UpdateLocalParameterizationJacobian

        boolean UpdateLocalParameterizationJacobian()
      • ToString

        void ToString()
      • StringOutput

        public java.lang.String StringOutput()
      • EnableResidualBlockDependencies

        void EnableResidualBlockDependencies()
      • IsConstant

        public boolean IsConstant()
      • user_state

        public double[] user_state()
      • SetState

        public boolean SetState​(double[] x,
                                int state_start)
      • mutable_user_state

        public double[] mutable_user_state()
      • LowerBoundForParameter

        public double LowerBoundForParameter​(int index)
      • UpperBoundForParameter

        public double UpperBoundForParameter​(int index)
      • SetUpperBound

        public void SetUpperBound​(int index,
                                  double upper_bound)
      • SetLowerBound

        void SetLowerBound​(int index,
                           double lower_bound)
      • LocalParameterizationJacobian

        public double[][] LocalParameterizationJacobian()
      • index

        public int index()
      • set_index

        public void set_index​(int index)
      • state_offset

        public int state_offset()
      • set_state_offset

        public void set_state_offset​(int state_offset)
      • delta_offset

        public int delta_offset()
      • set_delta_offset

        public void set_delta_offset​(int delta_offset)
      • state

        public double[] state()
      • state_start

        public int state_start()
      • GetState

        public void GetState​(double[] x,
                             int x_start)
      • Plus

        public boolean Plus​(double[] x,
                            double[] delta,
                            double[] x_plus_delta)
      • Plus

        public boolean Plus​(java.util.Vector<java.lang.Double> x,
                            int x_index,
                            java.util.Vector<java.lang.Double> delta,
                            int delta_index,
                            java.util.Vector<java.lang.Double> x_plus_delta,
                            int x_plus_delta_index)