tanh(x), x REAL or a structure with REAL components |

tanh(x) returns the hyperbolic sine of the elements of x, when x is a REAL scalar, vector, matrix or array. The result has the same shape as x. In terms of other functions, tanh(x) = (exp(x)-exp(-x))/ ((exp(x)+exp(-x)) When any element of x is MISSING the corresponding element of tanh(x) is MISSING and a warning message is printed. When x is a structure, all of whose non-structure components are REAL, tanh(x) is a structure of the same shape and with the same component names as x, with each non-structure component transformed by tanh(). See topic 'transformations' for more information on tanh().

Gary Oehlert 2003-01-15