Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

?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

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 .