Class CubicHermiteSpline

    • Constructor Detail

      • CubicHermiteSpline

        public CubicHermiteSpline​(double[] xInitialControlVector,
                                  double[] xFinalControlVector,
                                  double[] yInitialControlVector,
                                  double[] yFinalControlVector)
        Constructs a cubic hermite spline with the specified control vectors. Each control vector contains info about the location of the point and its first derivative.
        Parameters:
        xInitialControlVector - The control vector for the initial point in the x dimension.
        xFinalControlVector - The control vector for the final point in the x dimension.
        yInitialControlVector - The control vector for the initial point in the y dimension.
        yFinalControlVector - The control vector for the final point in the y dimension.
    • Method Detail

      • getCoefficients

        protected org.ejml.simple.SimpleMatrix getCoefficients()
        Returns the coefficients matrix.
        Specified by:
        getCoefficients in class Spline
        Returns:
        The coefficients matrix.