Developer Reference

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

v?Sub

Performs element by element subtraction of vector
b
from vector
a
.

Syntax

call vssub
(
n
,
a
,
b
,
y
)
call vssubi(n, a, inca, b, incb, y, incy)
call vmssub
(
n
,
a
,
b
,
y
,
mode
)
call vmssubi(n, a, inca, b, incb, y, incy, mode)
call vdsub
(
n
,
a
,
b
,
y
)
call vdsubi(n, a, inca, b, incb, y, incy)
call vmdsub
(
n
,
a
,
b
,
y
,
mode
)
call vmdsubi(n, a, inca, b, incb, y, incy, mode)
call vcsub
(
n
,
a
,
b
,
y
)
call vcsubi(n, a, inca, b, incb, y, incy)
call vmcsub
(
n
,
a
,
b
,
y
,
mode
)
call vmcsubi(n, a, inca, b, incb, y, incy, mode)
call vzsub
(
n
,
a
,
b
,
y
)
call vzsubi(n, a, inca, b, incb, y, incy)
call vmzsub
(
n
,
a
,
b
,
y
,
mode
)
call vmzsubi(n, a, inca, b, incb, 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
,
b
DOUBLE PRECISION
for
vdsub
,
vmdsub
COMPLEX
for
vcsub
,
vmcsub
DOUBLE COMPLEX
for
vzsub
,
vmzsub
REAL
,
INTENT(IN)
for
vssub
,
vmssub
DOUBLE PRECISION
,
INTENT(IN)
for
vdsub
,
vmdsub
COMPLEX
,
INTENT(IN)
for
vcsub
,
vmcsub
DOUBLE COMPLEX
,
INTENT(IN)
for
vzsub
,
vmzsub
Arrays that specify 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)
,
INTENT(IN)
Overrides global VM mode setting for this function call. See
vmlSetMode
for possible values and their description.