Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
?lacrt
Performs a linear transformation of a pair of complex vectors.
Syntax
call clacrt ( n , cx , incx , cy , incy , c , s )
call zlacrt ( n , cx , incx , cy , incy , c , s )
Include Files
mkl.fi
Description
clacrt zlacrt
The routine performs the following transformation
where c , s are complex scalars and x , y are complex vectors.
Input Parameters
- n
-
INTEGER . The number of elements in the vectors cx and cy ( n≥ 0 ).
- cx , cy
-
COMPLEX for clacrt DOUBLE COMPLEX for zlacrt Arrays, dimension ( n ). Contain input vectors x and y , respectively.
- incx
-
INTEGER . The increment between successive elements of cx .
- incy
-
INTEGER . The increment between successive elements of cy .
- c , s
-
COMPLEX for clacrt DOUBLE COMPLEX for zlacrt Complex scalars that define the transform matrix
Output Parameters
- cx
-
On exit, overwritten with c*x + s*y .
- cy
-
On exit, overwritten with -s*x + c*y .