ZCOPY(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

🌸 zcopy(3) β€” from the Library Functions Manual, bestie πŸ’…

Okay so picture this: you're deep in /home/abui...SRC/zcopy.f(3) territory, and honestly? It's giving ✨ linear algebra ✨. This is the zcopy page, and yes it's the Fortran BLAS one, not whatever else you were thinking. Sit down, hydrate, let's go 🫢


πŸŽ€ NAME

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/zcopy.f

That's the whole NAME, bestie β€” it's literally just the path to the source file. No cap, that's it. Iconic in a "the manpage gave up" way πŸ’€


✨ SYNOPSIS

Functions/Subroutines

subroutine ZCOPY (n, zx, incx, zy, incy)
    ZCOPY

πŸ¦‹ Function/Subroutine Documentation

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.
!>

Lowkey that's the entire personality. It copies. A vector. To another vector. Slay πŸŽ€

πŸ’œ Parameters

  • N β€” N is INTEGER. Number of elements in your input vector(s), so like, how many things you're actually moving. !>
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). This is the source situation, the vector we're copying from. !>
  • INCX β€” INCX is INTEGER. The storage spacing between elements of ZX, aka how far apart your values are chillin'. !>
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). The destination β€” where the copies land. !>
  • INCY β€” INCY is INTEGER. The storage spacing between elements of ZY. Its own spacing, its own vibe, don't confuse it with INCX fr fr. !>

🫢 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 yes, jack dongarra, linpack, dated 4/11/78, and then modified 12/3/93 when the array(1) declarations got changed to array(*). History, honestly πŸ‘‘

Definition at line 80 of file zcopy.f. 🫑


πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code. Not a human. A little robot did this and it ate πŸ’…


Heads up bestie: incx and incy are independently set β€” the source spacing and destination spacing are separate things. The page tells you the array dimensions are ( 1 + ( N - 1 )*abs( INCX ) ) and ( 1 + ( N - 1 )*abs( INCY ) ), so plan accordingly ✨

Signing off with the footer deets, as promised: this whole thing is LAPACK, Version 3.12.0, and it lives at /home/abui...SRC/zcopy.f(3). Bye bestie, go copy some vectors πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from