CSROT(3) BLAS routine of NEC Numeric Library Collection CSROT(3)
NAME
CSROT
SYNOPSIS
SUBROUTINE CSROT (N, CX, INCX, CY, INCY, C, S)
PURPOSE
CSROT applies a plane rotation, where the cos and sin (C and S)
is real and the vectors CX and CY are complex.
ARGUMENTS
N (input)
N is INTEGER
The number of elements in the vectors CX and CY.
CX (input/output)
CX is COMPLEX array, dimension (N)
On input, the vector X.
On output, CX is overwritten with C*X + S*Y.
INCX (input)
INCX is INTEGER
The increment between successive values of CY. INCX <> 0.
CY (input/output)
CY is COMPLEX array, dimension (N)
On input, the vector Y.
On output, CY is overwritten with -S*X + C*Y.
INCY (input)
INCY is INTEGER
The increment between successive values of CY. INCX <> 0.
C (input)
C is REAL
S (input)
S is REAL
C and S define a rotation
[ C S ]
[ -S C ]
where C*C + S*S = 1.0.
BLAS routine 4.0 31 March 2014 CSROT(3)