Class LinearCurveFit


  • public class LinearCurveFit
    extends CurveFit
    This performs a simple linear interpolation in multiple dimensions
    • Constructor Summary

      Constructors 
      Constructor Description
      LinearCurveFit​(double[] time, double[][] y)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getPos​(double t, double[] v)  
      void getPos​(double t, float[] v)  
      double getPos​(double t, int j)  
      void getSlope​(double t, double[] v)  
      double getSlope​(double t, int j)  
      double[] getTimePoints()  
      • Methods inherited from class androidx.constraintlayout.core.motion.utils.CurveFit

        get, getArc
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinearCurveFit

        public LinearCurveFit​(double[] time,
                              double[][] y)
    • Method Detail

      • getPos

        public void getPos​(double t,
                           double[] v)
        Specified by:
        getPos in class CurveFit
      • getPos

        public void getPos​(double t,
                           float[] v)
        Specified by:
        getPos in class CurveFit
      • getPos

        public double getPos​(double t,
                             int j)
        Specified by:
        getPos in class CurveFit
      • getSlope

        public void getSlope​(double t,
                             double[] v)
        Specified by:
        getSlope in class CurveFit
      • getSlope

        public double getSlope​(double t,
                               int j)
        Specified by:
        getSlope in class CurveFit