cosh method
Calculate the complex hyperbolic cosine function (sinh(z)).
Implementation
Complex cosh() {
final oppz = opposite; // -z
final numerator = exp() + oppz.exp();
return numerator / Complex(2.0, 0.0);
}
Calculate the complex hyperbolic cosine function (sinh(z)).
Complex cosh() {
final oppz = opposite; // -z
final numerator = exp() + oppz.exp();
return numerator / Complex(2.0, 0.0);
}