Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

v?Tanh

Computes hyperbolic tangent of vector elements.

Syntax

call vstanh
(
n
,
a
,
y
)
call vstanhi(n, a, inca, y, incy)
call vmstanh
(
n
,
a
,
y
,
mode
)
call vmstanhi(n, a, inca, y, incy, mode)
call vdtanh
(
n
,
a
,
y
)
call vdtanhi(n, a, inca, y, incy)
call vmdtanh
(
n
,
a
,
y
,
mode
)
call vmdtanhi(n, a, inca, y, incy, mode)
call vctanh
(
n
,
a
,
y
)
call vctanhi(n, a, inca, y, incy)
call vmctanh
(
n
,
a
,
y
,
mode
)
call vmctanhi(n, a, inca, y, incy, mode)
call vztanh
(
n
,
a
,
y
)
call vztanhi(n, a, inca, y, incy)
call vmztanh
(
n
,
a
,
y
,
mode
)
call vmztanhi(n, a, inca, y, incy, mode)
Include Files
  • mkl_vml.f90
Input Parameters
Name
Type
Description
n
INTEGER
,
INTENT(IN)
Specifies the number of elements to be calculated.
a
DOUBLE PRECISION
for
vdtanh
,
vmdtanh
COMPLEX
for
vctanh
,
vmctanh
DOUBLE COMPLEX
for
vztanh
,
vmztanh
REAL
,
INTENT(IN)
for
vstanh
,
vmstanh
DOUBLE PRECISION
,
INTENT(IN)
for
vdtanh
,
vmdtanh
COMPLEX
,
INTENT(IN)
for
vctanh
,
vmctanh
DOUBLE COMPLEX
,
INTENT(IN)
for
vztanh
,
vmztanh
Array that specifies the input vector
a
.
inca
,
incy
INTEGER, INTENT(IN)
Specifies increments for the elements of
a
and
y
.
mode
INTEGER(KIND=8)
,
INTENT(IN)
Overrides global VM mode setting for this function call. See
vmlSetMode
for possible values and their description.
Output Parameters
Name
Type
Description
y
DOUBLE PRECISION
for
vdtanh
,
vmdtanh
COMPLEX
for
vctanh
,
vmctanh
DOUBLE COMPLEX
for
vztanh
,
vmztanh
REAL
,
INTENT(OUT)
for
vstanh
,
vmstanh
DOUBLE PRECISION
,
INTENT(OUT)
for
vdtanh
,
vmdtanh
COMPLEX
,
INTENT(OUT)
for
vctanh
,
vmctanh
DOUBLE COMPLEX
,
INTENT(OUT)
for
vztanh
,
vmztanh
Array that specifies the output vector
y
.