lar2v#
Functions
-
void slar2v(const INT n, f32 *restrict X, f32 *restrict Y, f32 *restrict Z, const INT incx, const f32 *restrict C, const f32 *restrict S, const INT incc)#
SLAR2V applies a vector of real plane rotations from both sides to a sequence of 2-by-2 real symmetric matrices, defined by the elements of the vectors x, y and z.
Parameters
innThe number of plane rotations to be applied.
inoutXThe vector x. Array of dimension (1+(n-1)*incx).
inoutYThe vector y. Array of dimension (1+(n-1)*incx).
inoutZThe vector z. Array of dimension (1+(n-1)*incx).
inincxThe increment between elements of X, Y and Z.
inCThe cosines of the plane rotations. Array of dimension (1+(n-1)*incc).
inSThe sines of the plane rotations. Array of dimension (1+(n-1)*incc).
ininccThe increment between elements of C and S.
void slar2v(
const INT n,
f32* restrict X,
f32* restrict Y,
f32* restrict Z,
const INT incx,
const f32* restrict C,
const f32* restrict S,
const INT incc
);
Functions
-
void dlar2v(const INT n, f64 *restrict X, f64 *restrict Y, f64 *restrict Z, const INT incx, const f64 *restrict C, const f64 *restrict S, const INT incc)#
DLAR2V applies a vector of real plane rotations from both sides to a sequence of 2-by-2 real symmetric matrices, defined by the elements of the vectors x, y and z.
Parameters
innThe number of plane rotations to be applied.
inoutXThe vector x. Array of dimension (1+(n-1)*incx).
inoutYThe vector y. Array of dimension (1+(n-1)*incx).
inoutZThe vector z. Array of dimension (1+(n-1)*incx).
inincxThe increment between elements of X, Y and Z.
inCThe cosines of the plane rotations. Array of dimension (1+(n-1)*incc).
inSThe sines of the plane rotations. Array of dimension (1+(n-1)*incc).
ininccThe increment between elements of C and S.
void dlar2v(
const INT n,
f64* restrict X,
f64* restrict Y,
f64* restrict Z,
const INT incx,
const f64* restrict C,
const f64* restrict S,
const INT incc
);
Functions
-
void clar2v(const INT n, c64 *restrict X, c64 *restrict Y, c64 *restrict Z, const INT incx, const f32 *restrict C, const c64 *restrict S, const INT incc)#
CLAR2V applies a vector of complex plane rotations with real cosines from both sides to a sequence of 2-by-2 complex Hermitian matrices, defined by the elements of the vectors x, y and z.
For i = 1,2,…,n
( x(i) z(i) ) := ( conjg(z(i)) y(i) )
( c(i) conjg(s(i)) ) ( x(i) z(i) ) ( c(i) -conjg(s(i)) ) ( -s(i) c(i) ) ( conjg(z(i)) y(i) ) ( s(i) c(i) )
Parameters
innThe number of plane rotations to be applied.
inoutXThe vector x; the elements of x are assumed to be real. Array of dimension (1+(n-1)*incx).
inoutYThe vector y; the elements of y are assumed to be real. Array of dimension (1+(n-1)*incx).
inoutZThe vector z. Array of dimension (1+(n-1)*incx).
inincxThe increment between elements of X, Y and Z. incx > 0.
inCThe cosines of the plane rotations. Array of dimension (1+(n-1)*incc).
inSThe sines of the plane rotations. Array of dimension (1+(n-1)*incc).
ininccThe increment between elements of C and S. incc > 0.
void clar2v(
const INT n,
c64* restrict X,
c64* restrict Y,
c64* restrict Z,
const INT incx,
const f32* restrict C,
const c64* restrict S,
const INT incc
);
Functions
-
void zlar2v(const INT n, c128 *restrict X, c128 *restrict Y, c128 *restrict Z, const INT incx, const f64 *restrict C, const c128 *restrict S, const INT incc)#
ZLAR2V applies a vector of complex plane rotations with real cosines from both sides to a sequence of 2-by-2 complex Hermitian matrices, defined by the elements of the vectors x, y and z.
For i = 1,2,…,n
( x(i) z(i) ) := ( conjg(z(i)) y(i) )
( c(i) conjg(s(i)) ) ( x(i) z(i) ) ( c(i) -conjg(s(i)) ) ( -s(i) c(i) ) ( conjg(z(i)) y(i) ) ( s(i) c(i) )
Parameters
innThe number of plane rotations to be applied.
inoutXThe vector x; the elements of x are assumed to be real. Array of dimension (1+(n-1)*incx).
inoutYThe vector y; the elements of y are assumed to be real. Array of dimension (1+(n-1)*incx).
inoutZThe vector z. Array of dimension (1+(n-1)*incx).
inincxThe increment between elements of X, Y and Z. incx > 0.
inCThe cosines of the plane rotations. Array of dimension (1+(n-1)*incc).
inSThe sines of the plane rotations. Array of dimension (1+(n-1)*incc).
ininccThe increment between elements of C and S. incc > 0.
void zlar2v(
const INT n,
c128* restrict X,
c128* restrict Y,
c128* restrict Z,
const INT incx,
const f64* restrict C,
const c128* restrict S,
const INT incc
);