Visible to Intel only — GUID: GUID-1B072DE3-B5C1-4309-B351-2B014A6A7371
Visible to Intel only — GUID: GUID-1B072DE3-B5C1-4309-B351-2B014A6A7371
v?Tan
Computes tangent of vector elements.
call vstan( n, a, y )
call vstani(n, a, inca, y, incy)
call vmstan( n, a, y, mode )
call vmstani(n, a, inca, y, incy, mode)
call vdtan( n, a, y )
call vdtani(n, a, inca, y, incy)
call vmdtan( n, a, y, mode )
call vmdtani(n, a, inca, y, incy, mode)
call vctan( n, a, y )
call vctani(n, a, inca, y, incy)
call vmctan( n, a, y, mode )
call vmctani(n, a, inca, y, incy, mode)
call vztan( n, a, y )
call vztani(n, a, inca, y, incy)
call vmztan( n, a, y, mode )
call vmztani(n, a, inca, y, incy, mode)
- mkl_vml.f90
Name |
Type |
Description |
---|---|---|
n |
INTEGER, INTENT(IN) |
Specifies the number of elements to be calculated. |
a |
DOUBLE PRECISION for vdtan, vmdtan COMPLEX for vctan, vmctan DOUBLE COMPLEX for vztan, vmztan REAL, INTENT(IN) for vstan, vmstan DOUBLE PRECISION, INTENT(IN) for vdtan, vmdtan COMPLEX, INTENT(IN) for vctan, vmctan DOUBLE COMPLEX, INTENT(IN) for vztan, vmztan |
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. |
Name |
Type |
Description |
---|---|---|
y |
DOUBLE PRECISION for vdtan, vmdtan COMPLEX for vctan, vmctan DOUBLE COMPLEX for vztan, vmztan REAL, INTENT(OUT) for vstan, vmstan DOUBLE PRECISION, INTENT(OUT) for vdtan, vmdtan COMPLEX, INTENT(OUT) for vctan, vmctan DOUBLE COMPLEX, INTENT(OUT) for vztan, vmztan |
Array that specifies the output vector y. |
The v?Tan function computes tangent of vector elements.
Note that arguments abs(a[i]) ≤ 213 and abs(a[i]) ≤ 216 for single and double precisions respectively are called fast computational path. These are trigonometric function arguments for which VM provides the best possible performance. Avoid arguments that do not belong to the fast computational path in the VM High Accuracy (HA) and Low Accuracy (LA) functions. Alternatively, you can use VM Enhanced Performance (EP) functions that are fast on the entire function domain. However, these functions provide less accuracy.
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +0 | ||
-0 | -0 | ||
+∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
-∞ | QNAN | VML_STATUS_ERRDOM | INVALID |
QNAN | QNAN | ||
SNAN | QNAN | INVALID |
Specifications for special values of the complex functions are defined according to the following formula
Tan(z) = -i*Tanh(i*z).
Product and Performance Information |
---|
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201 |