tanh
Syntax
tanh(X)
Arguments
X is a scalar/vector/matrix.
Details
The hyperbolic tangent function.
Examples
tanh(0 1 2);
// output
[0,0.761594,0.964028]
tanh(X)
X is a scalar/vector/matrix.
The hyperbolic tangent function.
tanh(0 1 2);
// output
[0,0.761594,0.964028]