rot#
Functions
-
void crot(const INT n, c64 *restrict CX, const INT incx, c64 *restrict CY, const INT incy, const f32 c, const c64 s)#
CROT applies a plane rotation, where the cos (C) is real and the sin (S) is complex, and the vectors CX and CY are complex.
Parameters
innThe number of elements in the vectors CX and CY.
inoutCXComplex*16 array, dimension (N). On input, the vector X. On output, CX is overwritten with C*X + S*Y.
inincxThe increment between successive values of CX. INCX <> 0.
inoutCYComplex*16 array, dimension (N). On input, the vector Y. On output, CY is overwritten with -CONJG(S)*X + C*Y.
inincyThe increment between successive values of CY. INCY <> 0.
incSingle precision.
insComplex*16. C and S define a rotation [ C S ] [ -conjg(S) C ] where C*C + S*CONJG(S) = 1.0.
void crot(
const INT n,
c64* restrict CX,
const INT incx,
c64* restrict CY,
const INT incy,
const f32 c,
const c64 s
);
Functions
-
void zrot(const INT n, c128 *restrict CX, const INT incx, c128 *restrict CY, const INT incy, const f64 c, const c128 s)#
ZROT applies a plane rotation, where the cos (C) is real and the sin (S) is complex, and the vectors CX and CY are complex.
Parameters
innThe number of elements in the vectors CX and CY.
inoutCXComplex*16 array, dimension (N). On input, the vector X. On output, CX is overwritten with C*X + S*Y.
inincxThe increment between successive values of CX. INCX <> 0.
inoutCYComplex*16 array, dimension (N). On input, the vector Y. On output, CY is overwritten with -CONJG(S)*X + C*Y.
inincyThe increment between successive values of CY. INCY <> 0.
incDouble precision.
insComplex*16. C and S define a rotation [ C S ] [ -conjg(S) C ] where C*C + S*CONJG(S) = 1.0.
void zrot(
const INT n,
c128* restrict CX,
const INT incx,
c128* restrict CY,
const INT incy,
const f64 c,
const c128 s
);