cosh method

Complex cosh()

Implementation

Complex cosh() {
  final oppz = opposite; // -z
  final numerator = exp() + oppz.exp();
  return numerator / Complex(2.0, 0.0);
}