computes the element-wise hyperbolic secant of the argument
y = sech(x)
a real or complex array.
a real or complex array.
Compute the element-wise hyperbolic secant of the argument. The hyperbolic secant
is defined as 1/cosh(x)
. For real data the results are real
and in [0, 1]
.