tan

fun tan(complex: Complex): Complex(source)

Computes the tangent of a given complex number. The tangent of a complex number is calculated as the quotient of its sine and cosine.

Return

A new instance of Complex representing the tangent of the given complex number.

Parameters

complex

The complex number for which the tangent is to be calculated.