public AbstractLUTRealTransform(double lut,
protected double apply(double x)
protected double applyChecked(double x)
protected int findFloorIndex(double y)
Finds the LUT index i of the largest value smaller than or equal y for
all y in [lut,lut[max]] both inclusive. Only exception is lut[max] for
which it returns max-1. This is the correct behavior for interpolating
between lut[i] and lut[i + i] including lut[max].
Implemented as bin-search.