Object SplineInterpolator

  • All Implemented Interfaces:

    
    public class SplineInterpolator
    
                        

    Spline interpolation utility using Apache Commons Math3.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static DoubleArray interpolate(DoubleArray xOld, DoubleArray yOld, DoubleArray xNew) Interpolate data at new x-values using cubic spline interpolation.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • interpolate

         final static DoubleArray interpolate(DoubleArray xOld, DoubleArray yOld, DoubleArray xNew)

        Interpolate data at new x-values using cubic spline interpolation.

        Parameters:
        xOld - original x-values (sorted, distinct)
        yOld - original y-values
        xNew - new x-values at which to evaluate
        Returns:

        interpolated y-values at xNew