Intel® Math Kernel Library 2019 Developer Reference - Fortran
Returns vector containing the differences of the corresponding elements of the vector arguments if the first is larger and +0 otherwise.
call vsfdim (n, a, b, y)
call vmsfdim (n, a, b, y, mode)
call vdfdim (n, a, b, y)
call vmdfdim (n, a, b, y, mode)
Name |
Type |
Description |
|---|---|---|
n |
INTEGER |
Specifies the number of elements to be calculated. |
a, b |
REAL for vsfdim REAL for vmsfdim DOUBLE PRECISION for vdfdim DOUBLE PRECISION for vmdfdim |
Pointers to the arrays containing the input vectors a and b. |
mode |
INTEGER (KIND=8) |
Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
|---|---|---|
y |
REAL for vsfdim REAL for vmsfdim DOUBLE PRECISION for vdfdim DOUBLE PRECISION for vmdfdimjjssd |
Pointer to an array containing the output vector y. |
The v?Fdim function returns a vector containing the differences of the corresponding elements of the first and second vector arguments if the first element is larger, and +0 otherwise.
| Argument 1 | Argument 2 | Result | VM Error Status | Exception |
|---|---|---|---|---|
| any | QNAN | QNAN | ||
| any | SNAN | QNAN | INVALID | |
| QNAN | any | QNAN | ||
| SNAN | any | QNAN | INVALID |