Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 11/07/2023
Public

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

Document Table of Contents

?lar2v

Applies a vector of plane rotations with real cosines and real/complex sines from both sides to a sequence of 2-by-2 symmetric/Hermitian matrices.

Syntax

call slar2v( n, x, y, z, incx, c, s, incc )

call dlar2v( n, x, y, z, incx, c, s, incc )

call clar2v( n, x, y, z, incx, c, s, incc )

call zlar2v( n, x, y, z, incx, c, s, incc )

Include Files

  • mkl.fi

Description

The routine ?lar2v applies a vector of real/complex plane rotations with real cosines from both sides to a sequence of 2-by-2 real symmetric or complex Hermitian matrices, defined by the elements of the vectors x, y and z. For i = 1,2,...,n


Equation

Input Parameters

n

INTEGER. The number of plane rotations to be applied.

x, y, z

REAL for slar2v

DOUBLE PRECISION for dlar2v

COMPLEX for clar2v

DOUBLE COMPLEX for zlar2v

Arrays, DIMENSION (1+(n-1)*incx) each. Contain the vectors x, y and z, respectively. For all flavors of ?lar2v, elements of x and y are assumed to be real.

incx

INTEGER. The increment between elements of x, y, and z. incx > 0.

c

REAL for slar2v/clar2v

DOUBLE PRECISION for dlar2v/zlar2v

Array, DIMENSION (1+(n-1)*incc). The cosines of the plane rotations.

s

REAL for slar2v

DOUBLE PRECISION for dlar2v

COMPLEX for clar2v

DOUBLE COMPLEX for zlar2v

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, z

Vectors x, y and z, containing the results of transform.