tanh method
Computes the hyperbolic tangent of this complex number.
Implementation
Complex tanh() {
final a2 = 2 * a, b2 = 2 * b;
final d = a2.cosh() + b2.cos();
return Complex(a2.sinh() / d, b2.sin() / d);
}
Computes the hyperbolic tangent of this complex number.
Complex tanh() {
final a2 = 2 * a, b2 = 2 * b;
final d = a2.cosh() + b2.cos();
return Complex(a2.sinh() / d, b2.sin() / d);
}