Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
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 .