Interface ITableFunction

All Superinterfaces:
Serializable
All Known Implementing Classes:
ArrayTableFunction, ArrayTableFunctionFast, ConstantTableFunction, FloatIntervalTableFunction, IntervalTableFunction

public interface ITableFunction extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get(double arg)
    Returns value by the specified argument.
     
    double
    getAverageSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
     
     
    double
    getInterpolated(double arg)
     
    double
    Returns minimal argument with non-zero value.
    double
    getMaxNonZeroArgumentBetween(double beginArgument, double endArgument)
     
    double
    getMaxSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
     
    double
    Returns minimal argument with non-zero value.
    double
    getMinNonZeroArgumentBetween(double beginArgument, double endArgument)
     
    double
    getMinSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
     
    double
    getPeriod(double beginArgInclusive, double cumulativeValueLimit)
    Returns the argument such that the integral from the specified beginArgInclusive to this argument equals cumulativeValueLimit.
    double
    getSumBetween(double beginArgInclusive, double endArgExclusive)
    Returns square under the line of the plot between the specified values (definite integral of the function from beginArgInclusive to endArgExclusive).
  • Method Details

    • getSumBetween

      double getSumBetween(double beginArgInclusive, double endArgExclusive)
      Returns square under the line of the plot between the specified values (definite integral of the function from beginArgInclusive to endArgExclusive).
      Parameters:
      beginArgInclusive - begin argument of the interval. NaNs and infinities are not allowed.
      endArgExclusive - end argument of the interval, should be greater than beginArgInclusive so that interval has non-zero length. NaNs and infinities are not allowed.
      Returns:
      Square under the line of the plot between the specified values.
    • getPeriod

      double getPeriod(double beginArgInclusive, double cumulativeValueLimit)
      Returns the argument such that the integral from the specified beginArgInclusive to this argument equals cumulativeValueLimit.
      Parameters:
      beginArgInclusive - begin argument of the interval. NaNs and infinities are not allowed.
      cumulativeValueLimit - cumulative values limit. NaNs and infinities are not allowed.
      Returns:
      The argument with cumulative value summ equal to cumulativeValueLimit.
    • get

      double get(double arg)
      Returns value by the specified argument.
      Parameters:
      arg - argument
      Returns:
      Value by argument
    • getInterpolated

      double getInterpolated(double arg)
    • getMaxNonZeroArgument

      double getMaxNonZeroArgument()
      Returns minimal argument with non-zero value.
      Returns:
      Minimal argument with non-zero value, or Double.NEGATIVE_INFINITY if there are no non-zero values in the table function
    • getMinNonZeroArgument

      double getMinNonZeroArgument()
      Returns minimal argument with non-zero value.
      Returns:
      Minimal argument with non-zero value, or Double.POSITIVE_INFINITY if there are no non-zero values in the table function
    • getMinNonZeroArgumentBetween

      double getMinNonZeroArgumentBetween(double beginArgument, double endArgument)
    • getMaxNonZeroArgumentBetween

      double getMaxNonZeroArgumentBetween(double beginArgument, double endArgument)
    • getMaxSum

      double getMaxSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
    • getAverageSum

      double getAverageSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
    • getMinSum

      double getMinSum(double beginArgInclusive, double endArgExclusive, double argWindow, double argStep)
    • getCopy

      ITableFunction getCopy()
    • getArgumentValuePairs

      List<Pair<Double,Double>> getArgumentValuePairs()