ZDROT(3)
β¨ NAME β¨
Ok so bestie, this page is from the Library Functions Manual and it's all about one file: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/zdrot.f π©· like, that's the whole name section, that's the assignment, that's the file we're hyping today.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ZDROT (n, zx, incx, zy, incy, c, s)
ZDROT
π Function/Subroutine Documentation π
subroutine ZDROT (integer n, complex*16, dimension( * ) zx, integer incx,
complex*16, dimension( * ) zy, integer incy, double precision c, double
precision s)
ZDROT π« (yes the subroutine is literally just called ZDROT again, it's giving main character energy, it said "I am the function")
πΈ Purpose πΈ
Applies a plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex. β¨
And fr fr the credit line is right there in the source:
jack dongarra, linpack, 3/11/78.
like, 1978?? an icon, a legend, a pioneer π
π Parameters π
NβNis INTEGER. On entry,Nspecifies the order of the vectorscxandcy.Nmust be at least zero. (zero is fine bestie, negative is not, we do not do that here π«)ZXβZXis COMPLEX*16 array, dimension at least( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayZXmust contain thenelement vectorcx. On exit,ZXis overwritten by the updated vectorcx. π so like, it comes in ascxand leaves as the glow-up version ofcx.INCXβINCXis INTEGER. On entry,INCXspecifies the increment for the elements ofZX.INCXmust not be zero. β οΈ not zero. like, don't. the math will simply not math.ZYβZYis COMPLEX*16 array, dimension at least( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented arrayZYmust contain thenelement vectorcy. On exit,ZYis overwritten by the updated vectorcy. π¦ same deal,cygets its little makeover.INCYβINCYis INTEGER. On entry,INCYspecifies the increment for the elements ofZY.INCYmust not be zero. π again: NOT zero.CβCis DOUBLE PRECISION. On entry,Cspecifies the cosine,cos. πSβSis DOUBLE PRECISION. On entry,Sspecifies the sine,sin. β
π Author π
The whole squad behind this one:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
and just so we're clear, this is Definition at line 97 of file zdrot.f. π
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨ no humans were harmed, the robot did it.
ok so quick recap bestie: realcands, complexcxandcy,Nat least zero, increments not zero, arrays big enough for( 1 + ( N - 1 )*abs( INC ) ), andZX/ZYget overwritten on the way out. that's the whole vibe check and you passed it π―
LAPACK, Version 3.12.0 π«Ά and the page itself lives at /home/abui...SRC/zdrot.f(3) β mwah, go rotate some planes, ily, bye π
π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms