BLAS/SRC/zcopy.f(3)

πŸ’– BLAS/SRC/zcopy.f πŸ’–

okay bestie, gather round, because today we're talking about BLAS/SRC/zcopy.f β€” yes she's a Fortran file, yes she's iconic, and yes she is literally the blueprint for copying your complex vector data around. no cap. πŸ¦‹


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines

  • subroutine zcopy (n, zx, incx, zy, incy) β€” this is ZCOPY, the whole entire moment πŸ‘‘

🌸 Function/Subroutine Documentation 🌸

here's the full signature, in all her glory:

subroutine zcopy (integer n, complex*16, dimension(*) zx, integer incx,
    complex*16, dimension(*) zy, integer incy)

ZCOPY πŸ’…

🫢 Purpose:

ZCOPY copies a vector, x, to a vector, y.

that's it. that's the whole job. she copies. she does not overthink. she does not ask questions. main character energy fr fr ✨

🧚 Parameters

  • N β€” N is INTEGER. it's the number of elements in input vector(s). so like, how many things are we actually copying, bestie.
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). this is the source vibe, the one we're copying from.
  • INCX β€” INCX is INTEGER. it's the storage spacing between elements of ZX. lowkey she controls how far apart your ZX girlies are standing.
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). this is the destination, the one getting the glow-up.
  • INCY β€” INCY is INTEGER. it's the storage spacing between elements of ZY. same deal as INCX but for the destination side πŸ’œ

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

🌈 Further Details:

jack dongarra, linpack, 4/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

so yeah, she's been around since 4/11/78 and got a lil glow-up on 12/3/93 when the array(1) declarations became array(*). aging like fine wine, honestly. πŸ“

Definition at line 80 of file zcopy.f.


⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. so like, don't come for her formatting, a robot wrote it and she still ate πŸ”₯


πŸ’€ heads up bestie: this whole page is auto-generated by Doxygen, so if something looks a lil crunchy, that's just the pipeline doing its thing, not a personality flaw.

okay that's the whole tea, ily, go copy your vectors responsibly 🫢

Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/zcopy.f(3) β€” mwah, xoxo, stan a Fortran subroutine πŸ’–βœ¨πŸŽ€