cos method
Computes the cosine of this complex number.
Implementation
Complex cos() => Complex(a.cos() * b.cosh(), -a.sin() * b.sinh());
Computes the cosine of this complex number.
Complex cos() => Complex(a.cos() * b.cosh(), -a.sin() * b.sinh());