lacrt#
Functions
-
void clacrt(const INT n, c64 *restrict cx, const INT incx, c64 *restrict cy, const INT incy, const c64 c, const c64 s)#
CLACRT performs the operation.
( c s )( x ) ==> ( x ) ( -s c )( y ) ( y )
where c and s are complex and the vectors x and y are complex.
Parameters
innThe number of elements in the vectors CX and CY.
inoutcxComplex 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 array, dimension (N). On input, the vector y. On output, CY is overwritten with -s*x + c*y.
inincyThe increment between successive values of CY. incy <> 0.
incComplex scalar.
insComplex scalar. C and S define the matrix [ C S ]. [ -S C ]
void clacrt(
const INT n,
c64* restrict cx,
const INT incx,
c64* restrict cy,
const INT incy,
const c64 c,
const c64 s
);
Functions
-
void zlacrt(const INT n, c128 *restrict cx, const INT incx, c128 *restrict cy, const INT incy, const c128 c, const c128 s)#
ZLACRT performs the operation.
( c s )( x ) ==> ( x ) ( -s c )( y ) ( y )
where c and s are complex and the vectors x and y are complex.
Parameters
innThe number of elements in the vectors CX and CY.
inoutcxComplex 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 array, dimension (N). On input, the vector y. On output, CY is overwritten with -s*x + c*y.
inincyThe increment between successive values of CY. incy <> 0.
incComplex scalar.
insComplex scalar. C and S define the matrix [ C S ]. [ -S C ]
void zlacrt(
const INT n,
c128* restrict cx,
const INT incx,
c128* restrict cy,
const INT incy,
const c128 c,
const c128 s
);