Function tan

  • Computes the tangent of x

    Example

    Interval.tan(
    Interval(-Math.PI / 4, Math.PI / 4)
    ) // Interval(-1, 1)

    Example

    Interval.tan(
    Interval(0, Math.PI / 2)
    ) // Interval.WHOLE

    Example

    Interval.tan(
    Interval(-Infinity, x)
    )
    // Interval.WHOLE if x > -Infinity
    // Interval.EMPTY otherwise

    Returns

    Parameters

    Returns Interval

Generated using TypeDoc