Class Interpolate

  • All Implemented Interfaces:
    java.util.function.LongToDoubleFunction

    public class Interpolate
    extends java.lang.Object
    implements java.util.function.LongToDoubleFunction
    • Constructor Summary

      Constructors 
      Constructor Description
      Interpolate​(double... value)  
      Interpolate​(int resolution, double[] lut)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double applyAsDouble​(long input)  
      • Methods inherited from class java.lang.Object

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

      • Interpolate

        public Interpolate​(double... value)
      • Interpolate

        public Interpolate​(int resolution,
                           double[] lut)
    • Method Detail

      • applyAsDouble

        public double applyAsDouble​(long input)
        Specified by:
        applyAsDouble in interface java.util.function.LongToDoubleFunction