CALL TANH Routine


Returns the hyperbolic tangent

Category: Mathematical

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 x j is replaced by

click to expand

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' on page 854




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net