iarray.tanh#

iarray.tanh(iarr: IArray, /)#

Compute hyperbolic tangent element-wise.

Equivalent to ia.sinh(x)/ia.cosh(x).

Parameters

iarr (IArray container) – Input data. Should have a floating-point data type.

Returns

out – A lazy expression that must be evaluated via out.eval(), which will compute the actual hyperbolic tangent values.

Return type

iarray.Expr

References

np.tanh