Class InterpolatingLongDoubleSampler

java.lang.Object
io.nosqlbench.virtdata.library.curves4.continuous.common.InterpolatingLongDoubleSampler
All Implemented Interfaces:
LongToDoubleFunction

public class InterpolatingLongDoubleSampler extends Object implements LongToDoubleFunction
See Interpolate for details on implementation. For the 6 implementations of interpolating samplers which use inverse cumulative distribution tables, care should be given to the following:
  • Input Ranging - ensure that the input type is appropriate for the curve; pre-scaling needs to be matched to the input type
  • resolution, scale, and LUT length; T
  • +1 LUT padding for U=1.0
  • Uniform LERP code in main function
>
  • Constructor Details

    • InterpolatingLongDoubleSampler

      public InterpolatingLongDoubleSampler(DoubleUnaryOperator icdSource, int resolution, boolean hash, boolean clamp, double clampMin, double clampMax, boolean finite)
  • Method Details