Class ApprEllipsoidFit3f

    • Field Detail

      • m_iQuantity

        private int m_iQuantity
      • m_akPoint

        private java.util.Vector<Vector3f> m_akPoint
      • m_fError

        private double[] m_fError
    • Constructor Detail

      • ApprEllipsoidFit3f

        public ApprEllipsoidFit3f​(int iQuantity,
                                  java.util.Vector<Vector3f> akPoint,
                                  Vector3f rkU,
                                  Matrix3f rkR,
                                  float[] afD)
    • Method Detail

      • InitialGuess

        private static void InitialGuess​(int iQuantity,
                                         java.util.Vector<Vector3f> akPoint,
                                         Vector3f rkU,
                                         Matrix3f rkR,
                                         float[] afD)
      • Energy

        public float Energy​(double[] afV)
      • MatrixToAngles

        private static void MatrixToAngles​(Matrix3f rkR,
                                           float[] afAngle)
      • AnglesToMatrix

        private static void AnglesToMatrix​(float[] afAngle,
                                           Matrix3f rkR)
      • cost

        public double cost​(double fT,
                           double[] afData)
        Specified by:
        cost in interface PowellCostFunction
      • cost

        public double cost​(double[] fT,
                           double[] afData)
        Specified by:
        cost in interface PowellCostFunction