log method

Complex log()

Computes the natural logarithm of this complex number.

Implementation

Complex log() => Complex(norm().sqrt().log(), b.atan2(a));