Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 6/24/2024
Public

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

Document Table of Contents

?lartv

Applies a vector of plane rotations with real cosines and real/complex sines to the elements of a pair of vectors.

Syntax

call slartv( n, x, incx, y, incy, c, s, incc )

call dlartv( n, x, incx, y, incy, c, s, incc )

call clartv( n, x, incx, y, incy, c, s, incc )

call zlartv( n, x, incx, y, incy, c, s, incc )

Include Files

  • mkl.fi

Description

The routine applies a vector of real/complex plane rotations with real cosines to elements of the real/complex vectors x and y. For i = 1,2,...,n


Equation

Input Parameters

n

INTEGER. The number of plane rotations to be applied.

x, y

REAL for slartv

DOUBLE PRECISION for dlartv

COMPLEX for clartv

DOUBLE COMPLEX for zlartv

Arrays, DIMENSION (1+(n-1)*incx) and (1+(n-1)*incy), respectively. The input vectors x and y.

incx

INTEGER. The increment between elements of x. incx > 0.

incy

INTEGER. The increment between elements of y. incy > 0.

c

REAL for slartv/clartv

DOUBLE PRECISION for dlartv/zlartv

Array, DIMENSION (1+(n-1)*incc).

The cosines of the plane rotations.

s

REAL for slartv

DOUBLE PRECISION for dlartv

COMPLEX for clartv

DOUBLE COMPLEX for zlartv

Array, DIMENSION (1+(n-1)*incc).

The sines of the plane rotations.

incc

INTEGER. The increment between elements of c and s. incc > 0.

Output Parameters

x, y

The rotated vectors x and y.