Function negative

  • Computes -x

    Example

    Interval.negative(
    Interval(1, 2)
    ) // Interval(-2, -1)

    Example

    Interval.negative(
    Interval(-Infinity, Infinity)
    ) // Interval(-Infinity, Infinity)

    Example

    Interval.negative(
    Interval.WHOLE
    ) // Interval.WHOLE

    Returns

    Parameters

    Returns Interval

Generated using TypeDoc