rot(3)
πΈ NAME πΈ
rot β rot: apply plane rotation ([cz]rot in LAPACK).
okay so this is the rot(3) page from the Library Functions Manual, and yes bestie, it is literally the whole plane-rotation squad. π
β¨ SYNOPSIS β¨
Functions
subroutine csrot (n, cx, incx, cy, incy, c, s)β CSROTsubroutine drot (n, dx, incx, dy, incy, c, s)β DROTsubroutine srot (n, sx, incx, sy, incy, c, s)β SROTsubroutine zdrot (n, zx, incx, zy, incy, c, s)β ZDROTsubroutine crot (n, cx, incx, cy, incy, c, s)β CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors.subroutine zrot (n, cx, incx, cy, incy, c, s)β ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors.
π¦ Detailed Description π¦
This section is literally just a heading in the original β no extra lore, no side quest, nothing. The real content is right below under Function Documentation. Slay for minimalism, I guess. π
π Function Documentation π
crot β complex vectors, real cos, complex sin π«
subroutine crot (integer n, complex, dimension( * ) cx, integer incx,
complex, dimension( * ) cy, integer incy, real c, complex s)
CROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors.
Purpose
CROT applies a plane rotation, where the cos (C) is real and the sin (S) is complex, and the vectors CX and CY are complex. π
Parameters
Nβ is INTEGER. The number of elements in the vectorsCXandCY.CXβ is COMPLEX array, dimension(N). On input, the vector X. On output,CXis overwritten withC*X + S*Y.INCXβ is INTEGER. The increment between successive values ofCX.INCX <> 0.CYβ is COMPLEX array, dimension(N). On input, the vector Y. On output,CYis overwritten with-CONJG(S)*X + C*Y.INCYβ is INTEGER. The increment between successive values ofCY.INCX <> 0.Cβ is REAL.Sβ is COMPLEX.CandSdefine a rotation:
[ C S ]
[ -conjg(S) C ]
where C*C + S*CONJG(S) = 1.0.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 102 of file crot.f.
csrot β real cos and sin on complex vectors π
subroutine csrot (integer n, complex, dimension( * ) cx, integer incx,
complex, dimension( * ) cy, integer incy, real c, real s)
CSROT
Purpose
CSROT applies a plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex. jack dongarra, linpack, 3/11/78. β¨
Parameters
Nβ is INTEGER. On entry,Nspecifies the order of the vectorscxandcy.Nmust be at least zero.CXβ is COMPLEX array, dimension at least( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayCXmust contain the n element vectorcx. On exit,CXis overwritten by the updated vectorcx.INCXβ is INTEGER. On entry,INCXspecifies the increment for the elements ofCX.INCXmust not be zero.CYβ is COMPLEX array, dimension at least( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented arrayCYmust contain the n element vectorcy. On exit,CYis overwritten by the updated vectorcy.INCYβ is INTEGER. On entry,INCYspecifies the increment for the elements ofCY.INCYmust not be zero.Cβ is REAL. On entry,Cspecifies the cosine, cos.Sβ is REAL. On entry,Sspecifies the sine, sin.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 97 of file csrot.f.
drot β double-precision plane rotation π₯
subroutine drot (integer n, double precision, dimension(*) dx, integer incx,
double precision, dimension(*) dy, integer incy, double precision c,
double precision s)
DROT
Purpose
DROT applies a plane rotation. π
Parameters
Nβ is INTEGER. number of elements in input vector(s)DXβ is DOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCX ) )INCXβ is INTEGER. storage spacing between elements ofDXDYβ is DOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCY ) )INCYβ is INTEGER. storage spacing between elements ofDYCβ is DOUBLE PRECISIONSβ is DOUBLE PRECISION
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 91 of file drot.f.
srot β single-precision plane rotation π
subroutine srot (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy, real c, real s)
SROT
Purpose
SROT applies a plane rotation. β
Parameters
Nβ is INTEGER. number of elements in input vector(s)SXβ is REAL array, dimension( 1 + ( N - 1 )*abs( INCX ) )INCXβ is INTEGER. storage spacing between elements ofSXSYβ is REAL array, dimension( 1 + ( N - 1 )*abs( INCY ) )INCYβ is INTEGER. storage spacing between elements ofSYCβ is REALSβ is REAL
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 91 of file srot.f.
zdrot β double-complex vectors, real cos and sin π§
subroutine zdrot (integer n, complex*16, dimension( * ) zx, integer incx,
complex*16, dimension( * ) zy, integer incy, double precision c, double
precision s)
ZDROT
Purpose
Applies a plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex. jack dongarra, linpack, 3/11/78. π
Parameters
Nβ is INTEGER. On entry,Nspecifies the order of the vectorscxandcy.Nmust be at least zero.ZXβ is COMPLEX*16 array, dimension at least( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayZXmust contain the n element vectorcx. On exit,ZXis overwritten by the updated vectorcx.INCXβ is INTEGER. On entry,INCXspecifies the increment for the elements ofZX.INCXmust not be zero.ZYβ is COMPLEX*16 array, dimension at least( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented arrayZYmust contain the n element vectorcy. On exit,ZYis overwritten by the updated vectorcy.INCYβ is INTEGER. On entry,INCYspecifies the increment for the elements ofZY.INCYmust not be zero.Cβ is DOUBLE PRECISION. On entry,Cspecifies the cosine, cos.Sβ is DOUBLE PRECISION. On entry,Sspecifies the sine, sin.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 97 of file zdrot.f.
zrot β double-complex vectors with real cos and complex sin π
subroutine zrot (integer n, complex*16, dimension( * ) cx, integer incx,
complex*16, dimension( * ) cy, integer incy, double precision c,
complex*16 s)
ZROT applies a plane rotation with real cosine and complex sine to a pair of complex vectors.
Purpose
ZROT applies a plane rotation, where the cos (C) is real and the sin (S) is complex, and the vectors CX and CY are complex. π
Parameters
Nβ is INTEGER. The number of elements in the vectorsCXandCY.CXβ is COMPLEX*16 array, dimension(N). On input, the vector X. On output,CXis overwritten withC*X + S*Y.INCXβ is INTEGER. The increment between successive values ofCX.INCX <> 0.CYβ is COMPLEX*16 array, dimension(N). On input, the vector Y. On output,CYis overwritten with-CONJG(S)*X + C*Y.INCYβ is INTEGER. The increment between successive values ofCY.INCX <> 0.Cβ is DOUBLE PRECISION.Sβ is COMPLEX*16.CandSdefine a rotation:
[ C S ]
[ -conjg(S) C ]
where C*C + S*CONJG(S) = 1.0.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 102 of file zrot.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie π
LAPACK Version 3.12.0 β rot(3) β go rotate something safely, ily ππ«Ά
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms