Functions and CALL Routines |
Returns the hyperbolic tangent.
CALL TANH(argument<, argument,...>);
|
-
argument
-
is numeric.
Restriction: |
The CALL TANH routine
only accepts variables as valid arguments. Do not use a constant or a SAS
expression, because the CALL routine is unable to update these arguments. |
The subroutine TANH replaces each argument
by the tanh of that argument. For example
is replaced by
If any argument contains a missing value, then CALL TANH returns missing
values for all the arguments.
The following SAS statements produce these
results:
SAS Statements |
Results |
x=0.5;
y=-0.5;
call tanh(x,y);
put x= y=;
|
x=0.4621171573 y=-0.462117157
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.