Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

v?Fmin

Returns the smaller of each pair of elements of the two vector arguments.

Syntax

vsFmin
(
n
,
a
,
b
,
y
);
vsFminI(n, a, inca, b, incb, y, incy);
vmsFmin
(
n
,
a
,
b
,
y
,
mode
);
vmsFminI(n, a, inca, b, incb, y, incy, mode);
vdFmin
(
n
,
a
,
b
,
y
);
vdFminI(n, a, inca, b, incb, y, incy);
vmdFmin
(
n
,
a
,
b
,
y
,
mode
);
vmdFminI(n, a, inca, b, incb, y, incy, mode);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
n
const MKL_INT
Specifies the number of elements to be calculated.
a
,
b
const float*
for
vsFmin
const float*
for
vmsFmin
const double*
for
vdFmin
const double*
for
vmdFmin
Pointers to the arrays containing the input vectors
a
and
b
.
inca
,
incb
,
incy
const MKL_INT
Specifies increments for the elements of
a
,
b
, and
y
.
mode
const MKL_INT64
Overrides the global VM
mode
setting for this function call. See
vmlSetMode
for possible values and their description.
Output Parameters
Name
Type
Description
y
float*
for
vsFmin
float*
for
vmsFmin
double*
for
vdFmin
double*
for
vmdFmin
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
b
i
<
a
i
v?Fmin
returns
b
i
, otherwise
v?Fmin
returns
a
i
.
Special values for Real Function
v?Fmin(x, y)
Argument 1
Argument 2
Result
VM Error Status
Exception
a
i
not NAN
NAN
a
i
NAN
b
i
not NAN
b
i
NAN
NAN
NAN

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.