atan

fun atan(complex: Complex): Complex(source)

Computes the arc tangent (inverse tangent) of a complex number. The arc tangent is calculated using the formula: atan(z) = (i/2) * ln((i+z)/(i-z)) where z is the complex number.

Return

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

Parameters

complex

The complex number for which the arc tangent is calculated.