Class CeresSolver2.CovarianceImpl

  • Enclosing class:
    CeresSolver2

    class CeresSolver2.CovarianceImpl
    extends java.lang.Object
    • Method Detail

      • CheckForDuplicates

        public boolean CheckForDuplicates​(java.util.Vector<double[]> blocks)
      • CheckForPairDuplicates

        public boolean CheckForPairDuplicates​(java.util.Vector<CeresSolver.Pair<double[],​double[]>> blocks)
      • Compute

        public boolean Compute​(java.util.Vector<double[]> parameter_blocks,
                               CeresSolver.ProblemImpl problem)
      • ComputeCovarianceValues

        boolean ComputeCovarianceValues()
      • ComputeCovarianceValuesUsingDenseSVD

        boolean ComputeCovarianceValuesUsingDenseSVD()
      • GetCovarianceBlock

        public boolean GetCovarianceBlock​(double[] parameter_block1,
                                          double[] parameter_block2,
                                          double[] covariance_block)
      • GetCovarianceBlockInTangentSpace

        public boolean GetCovarianceBlockInTangentSpace​(double[] parameter_block1,
                                                        double[] parameter_block2,
                                                        double[] covariance_block)
      • GetCovarianceBlockInTangentOrAmbientSpace

        public boolean GetCovarianceBlockInTangentOrAmbientSpace​(double[] original_parameter_block1,
                                                                 double[] original_parameter_block2,
                                                                 boolean lift_covariance_to_ambient_space,
                                                                 double[] covariance_block)
      • GetCovarianceMatrix

        public boolean GetCovarianceMatrix​(java.util.Vector<double[]> parameter_blocks,
                                           double[] covariance_matrix)
      • GetCovarianceMatrixInTangentSpace

        public boolean GetCovarianceMatrixInTangentSpace​(java.util.Vector<double[]> parameter_blocks,
                                                         double[] covariance_matrix)
      • GetCovarianceMatrixInTangentOrAmbientSpace

        public boolean GetCovarianceMatrixInTangentOrAmbientSpace​(java.util.Vector<double[]> parameters,
                                                                  boolean lift_covariance_to_ambient_space,
                                                                  double[] covariance_matrix)
      • LinearIndexToUpperTriangularIndex

        void LinearIndexToUpperTriangularIndex​(int k,
                                               int n,
                                               int[] i,
                                               int[] j)