-
template<typename T>
void lacrt(integer *n, T *cx, integer *incx, T *cy, integer *incy, T *c, T *s)# LACRT performs a linear transformation of a pair of complex vectors.
Purpose:
LACRT 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:
N – [in]
N is INTEGER
The number of elements in the vectors CX and CY.
CX – [inout]
CX is COMPLEX array, dimension (N)
On input, the vector x. On output, CX is overwritten with c*x + s*y.
INCX – [in]
INCX is INTEGER
The increment between successive values of CX. INCX <> 0.
CY – [inout]
CY is COMPLEX array, dimension (N)
On input, the vector y. On output, CY is overwritten with -s*x + c*y.
INCY – [in]
INCY is INTEGER
The increment between successive values of CY. INCY <> 0.
C – [in] C is COMPLEX
S – [in]
S is COMPLEX
C and S define the matrix
[ C S ].
[ -S C ]