Previous Page | Next Page

Functions and CALL Routines

CALL TANH Routine



Returns the hyperbolic tangent.
Category: Mathematical

Syntax
Arguments
Details
Examples
See Also

Syntax

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

Arguments

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.

Details

The subroutine TANH replaces each argument by the tanh of that argument. For example [equation] is replaced by

[equation]

If any argument contains a missing value, then CALL TANH returns missing values for all the arguments.


Examples

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


See Also

Function:

TANH Function

Previous Page | Next Page | Top of Page