lartv#

Functions

void slartv(
    const INT           n,
          f32* restrict X,
    const INT           incx,
          f32* restrict Y,
    const INT           incy,
    const f32* restrict C,
    const f32* restrict S,
    const INT           incc
);
void slartv(const INT n, f32 *restrict X, const INT incx, f32 *restrict Y, const INT incy, const f32 *restrict C, const f32 *restrict S, const INT incc)#

SLARTV applies a vector of real plane rotations to elements of the real vectors x and y.

For i = 0,1,…,n-1

( x(i) ) := ( c(i) s(i) ) ( x(i) ) ( y(i) ) ( -s(i) c(i) ) ( y(i) )

Parameters

in
n

The number of plane rotations to be applied.

inout
X

Double precision array, dimension (1+(n-1)*incx). The vector x.

in
incx

The increment between elements of X. incx > 0.

inout
Y

Double precision array, dimension (1+(n-1)*incy). The vector y.

in
incy

The increment between elements of Y. incy > 0.

in
C

Double precision array, dimension (1+(n-1)*incc). The cosines of the plane rotations.

in
S

Double precision array, dimension (1+(n-1)*incc). The sines of the plane rotations.

in
incc

The increment between elements of C and S. incc > 0.

Functions

void dlartv(
    const INT           n,
          f64* restrict X,
    const INT           incx,
          f64* restrict Y,
    const INT           incy,
    const f64* restrict C,
    const f64* restrict S,
    const INT           incc
);
void dlartv(const INT n, f64 *restrict X, const INT incx, f64 *restrict Y, const INT incy, const f64 *restrict C, const f64 *restrict S, const INT incc)#

DLARTV applies a vector of real plane rotations to elements of the real vectors x and y.

For i = 0,1,…,n-1

( x(i) ) := ( c(i) s(i) ) ( x(i) ) ( y(i) ) ( -s(i) c(i) ) ( y(i) )

Parameters

in
n

The number of plane rotations to be applied.

inout
X

Double precision array, dimension (1+(n-1)*incx). The vector x.

in
incx

The increment between elements of X. incx > 0.

inout
Y

Double precision array, dimension (1+(n-1)*incy). The vector y.

in
incy

The increment between elements of Y. incy > 0.

in
C

Double precision array, dimension (1+(n-1)*incc). The cosines of the plane rotations.

in
S

Double precision array, dimension (1+(n-1)*incc). The sines of the plane rotations.

in
incc

The increment between elements of C and S. incc > 0.

Functions

void clartv(
    const INT           n,
          c64* restrict X,
    const INT           incx,
          c64* restrict Y,
    const INT           incy,
    const f32* restrict C,
    const c64* restrict S,
    const INT           incc
);
void clartv(const INT n, c64 *restrict X, const INT incx, c64 *restrict Y, const INT incy, const f32 *restrict C, const c64 *restrict S, const INT incc)#

CLARTV applies a vector of complex plane rotations with real cosines to elements of the complex vectors x and y.

For i = 0,1,…,n-1

( x(i) ) := ( c(i) s(i) ) ( x(i) ) ( y(i) ) ( -conjg(s(i)) c(i) ) ( y(i) )

Parameters

in
n

The number of plane rotations to be applied.

inout
X

Complex*16 array, dimension (1+(n-1)*incx). The vector x.

in
incx

The increment between elements of X. incx > 0.

inout
Y

Complex*16 array, dimension (1+(n-1)*incy). The vector y.

in
incy

The increment between elements of Y. incy > 0.

in
C

Single precision array, dimension (1+(n-1)*incc). The cosines of the plane rotations.

in
S

Complex*16 array, dimension (1+(n-1)*incc). The sines of the plane rotations.

in
incc

The increment between elements of C and S. incc > 0.

Functions

void zlartv(
    const INT            n,
          c128* restrict X,
    const INT            incx,
          c128* restrict Y,
    const INT            incy,
    const f64*  restrict C,
    const c128* restrict S,
    const INT            incc
);
void zlartv(const INT n, c128 *restrict X, const INT incx, c128 *restrict Y, const INT incy, const f64 *restrict C, const c128 *restrict S, const INT incc)#

ZLARTV applies a vector of complex plane rotations with real cosines to elements of the complex vectors x and y.

For i = 0,1,…,n-1

( x(i) ) := ( c(i) s(i) ) ( x(i) ) ( y(i) ) ( -conjg(s(i)) c(i) ) ( y(i) )

Parameters

in
n

The number of plane rotations to be applied.

inout
X

Complex*16 array, dimension (1+(n-1)*incx). The vector x.

in
incx

The increment between elements of X. incx > 0.

inout
Y

Complex*16 array, dimension (1+(n-1)*incy). The vector y.

in
incy

The increment between elements of Y. incy > 0.

in
C

Double precision array, dimension (1+(n-1)*incc). The cosines of the plane rotations.

in
S

Complex*16 array, dimension (1+(n-1)*incc). The sines of the plane rotations.

in
incc

The increment between elements of C and S. incc > 0.