Class LinearFloatFunction


  • public class LinearFloatFunction
    extends ValueSource
    LinearFloatFunction implements a linear function over another ValueSource.
    Normally Used as an argument to a FunctionQuery
    • Field Detail

      • slope

        protected final float slope
      • intercept

        protected final float intercept
    • Constructor Detail

      • LinearFloatFunction

        public LinearFloatFunction​(ValueSource source,
                                   float slope,
                                   float intercept)