Developer Reference

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

?rot

Performs rotation of points in the plane.

Syntax

call srot
(
n
,
x
,
incx
,
y
,
incy
,
c
,
s
)
call drot
(
n
,
x
,
incx
,
y
,
incy
,
c
,
s
)
call csrot
(
n
,
x
,
incx
,
y
,
incy
,
c
,
s
)
call zdrot
(
n
,
x
,
incx
,
y
,
incy
,
c
,
s
)
call rot
(
x
,
y
,
c
,
s
)
Include Files
  • mkl.fi
    ,
    blas.f90
Description
Given two complex vectors
x
and
y
, each vector element of these vectors is replaced as follows:
x
i
=
c
*
x
i
+
s
*
y
i
y
i
=
c
*
y
i
-
s
*
x
i
Input Parameters
n
INTEGER
.
Specifies the number of elements in vectors
x
and
y
.
x
REAL
for
srot
DOUBLE PRECISION
for
drot
COMPLEX
for
csrot
DOUBLE COMPLEX
for
zdrot
Array, size at least
(1 + (
n
-1)*abs(
incx
))
.
incx
INTEGER
.
Specifies the increment for the elements of
x
.
y
REAL
for
srot
DOUBLE PRECISION
for
drot
COMPLEX
for
csrot
DOUBLE COMPLEX
for
zdrot
Array, size at least
(1 + (
n
-1)*abs(
incy
))
.
incy
INTEGER
.
Specifies the increment for the elements of
y
.
c
REAL
for
srot
DOUBLE PRECISION
for
drot
REAL
for
csrot
DOUBLE PRECISION
for
zdrot
A scalar.
s
REAL
for
srot
DOUBLE PRECISION
for
drot
REAL
for
csrot
DOUBLE PRECISION
for
zdrot
A scalar.
Output Parameters