cos method
Calculates the cosine of this complex number.
Implementation
Complex cos() => Complex(
math.cos(real) * _cosh(imaginary), -math.sin(real) * _sinh(imaginary));
Calculates the cosine of this complex number.
Complex cos() => Complex(
math.cos(real) * _cosh(imaginary), -math.sin(real) * _sinh(imaginary));