asinh function
Return the inverse hyperbolic sine of complex
.
There are two branch cuts: One extends from 1i along the
imaginary axis to ∞i,
continuous from the right. The other extends from -1i along
the imaginary axis to -∞i, continuous from the left.
Implementation
Complex<num, num> asinh(Complex complex) {
var val = sqrt(complex + (complex * complex + Complex(1, 0)));
return log(val);
}