Visible to Intel only — GUID: GUID-7652DE5C-AC3D-41F7-882C-5D47F0DDF496
Visible to Intel only — GUID: GUID-7652DE5C-AC3D-41F7-882C-5D47F0DDF496
v?Fmin
Returns the smaller of each pair of elements of the two vector arguments.
Syntax
call vsfmin (n, a, b, y)
call vsfmini(n, a, inca, b, incb, y, incy)
call vmsfmin (n, a, b, y, mode)
call vmsfmini(n, a, inca, b, incb, y, incy, mode)
call vdfmin (n, a, b, y)
call vdfmini(n, a, inca, b, incb, y, incy)
call vmdfmin (n, a, b, y, mode)
call vmdfmini(n, a, inca, b, incb, y, incy, mode)
Include Files
- mkl_vml.f90
Input Parameters
Name |
Type |
Description |
---|---|---|
n |
INTEGER |
Specifies the number of elements to be calculated. |
a, b |
REAL for vsfmin REAL for vmsfmin DOUBLE PRECISION for vdfmin DOUBLE PRECISION for vmdfmin |
Pointers to the arrays containing the input vectors a and b. |
inca, incb, incy |
INTEGER, INTENT(IN) |
Specifies increments for the elements of a, b, and y. |
mode |
INTEGER (KIND=8) |
Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Output Parameters
Name |
Type |
Description |
---|---|---|
y |
REAL for vsfmin REAL for vmsfmin DOUBLE PRECISION for vdfmin DOUBLE PRECISION for vmdfminjjssd |
Pointer to an array containing the output vector y. |
Description
The v?Fmin function returns a vector with element values equal to the smaller value from each pair of corresponding elements of the two vectors a and b: if bi < aiv?Fmin returns bi, otherwise v?Fmin returns ai.
Argument 1 | Argument 2 | Result | VM Error Status | Exception |
---|---|---|---|---|
ai not NAN | NAN | ai | ||
NAN | bi not NAN | bi | ||
NAN | NAN | NAN |