Function hull

  • Computes an interval that has all the values of x and y, note that it may be possible that values that don't belong to either x or y are included in the interval that represents the hull

    Example

    Interval.hull(
    Interval(-1, 1),
    Interval(5, 7)
    ) // Interval(-1, 7)
    Interval.hull(
    Interval(-1, 1),
    Interval.EMPTY
    ) // Interval(-1, 1)

    Returns

    Parameters

    Returns Interval

Generated using TypeDoc