?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

  • Fortran: mkl.fi
  • C: mkl.h

Description

The routine performs the following transformation


Equation

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


Equation

Output Parameters

cx

On exit, overwritten with c*x + s*y .

cy

On exit, overwritten with -s*x + c*y .

For more complete information about compiler optimizations, see our Optimization Notice.