(y)=tanh(x)
Inputs  
x 
A real or complex array. 
Outputs  
y 
An array of real or complex numbers which is of the same size as the input, with y[i]=tanh(x[i]) for each i , where tanh is the usual hyperbolic tangent function whose definition is extended to include complex numbers as the input.
