sin method

Complex sin()

Calculates the sine of this complex number.

Implementation

Complex sin() => Complex(
      math.sin(real) * _cosh(imaginary),
      math.cos(real) * _sinh(imaginary),
    );