CALL TANH Routine

Returns the hyperbolic tangent.

Category:Mathematical
Restriction:This function is not valid on the CAS server.
Note:Argument types for arguments that are updated must match in CALL routines. All argument types must be CHAR, VARCHAR, or NUMERIC. If the argument types do not match, a warning is issued to the log.

Syntax

CALL TANH(argument <, argument, ...>);

Required Argument

argument

is numeric.

RestrictionThe CALL TANH routine accepts only variables as valid arguments. Do not use a constant or a SAS expression, because the CALL routine is unable to update these arguments.

Details

The subroutine TANH replaces each argument by the tanh of that argument. For example, x Subscript j is replaced by
If any argument contains a missing value, then CALL TANH returns missing values for all the arguments.

Example

The following SAS statements produce these results:
SAS Statement
Result
x=0.5;
y=-0.5;
call tanh(x, y);
put x= y=;
 
x=0.4621171573 y=-0.462117157

See Also

Functions:
Last updated: March 16, 2017