Function fmod

  • Computes x mod y (x - k * y)

    Example

    Interval.fmod(
    Interval(5.3, 5.3),
    Interval(2, 2)
    ) // Interval(1.3, 1.3)
    Interval.fmod(
    Interval(5, 7),
    Interval(2, 3)
    ) // Interval(2, 5)
    // explanation: [5, 7] - [2, 3] * 1 = [2, 5]

    Returns

    Parameters

    Returns Interval

Generated using TypeDoc