BLAS/SRC/ccopy.f(3)

πŸ’… BLAS/SRC/ccopy.f(3)

ok so this is a page from the Library Functions Manual β€” yes bestie, we're in the Fortran BLAS archives and it's honestly iconic in here πŸŽ€


✨ NAME ✨

BLAS/SRC/ccopy.f β€” the file, the moment, the legend πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions/Subroutines

subroutine ccopy (n, cx, incx, cy, incy)
    CCOPY

🌸 Function/Subroutine Documentation 🌸

subroutine ccopy (integer n, complex, dimension(*) cx, integer incx,
    complex, dimension(*) cy, integer incy)

CCOPY β€” she's literally right there in the name, no cap πŸ’…

πŸŽ€ Purpose πŸŽ€

!> !> CCOPY copies a vector x to a vector y. !>

that's it. that's the whole job. copy x into y. main character energy, zero drama, she ate and left no crumbs πŸ“

🧚 Parameters 🧚

  • N
!> N is INTEGER !> number of elements in input vector(s)

how many elements we're working with in the input vector(s) β€” the headcount of the whole operation fr fr πŸ’–

  • CX
!> CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

the source, the origin, the blueprint β€” it's a COMPLEX array, and yes the dimension formula is exactly ( 1 + ( N - 1 )*abs( INCX ) ), memorize it bestie ✨

  • INCX
!> INCX is INTEGER !> storage spacing between elements of CX

the storage spacing between elements of CX β€” basically the stride, the lil gap between your faves πŸ¦‹

  • CY
!> CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

the destination πŸ’« also a COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) β€” note it's INCY in this one, don't mix them up πŸ™ˆ

  • INCY
!> INCY is INTEGER !> storage spacing between elements of CY

the storage spacing between elements of CY. matching stride energy, but for the destination πŸ‘‘

πŸ‘‘ Author πŸ‘‘

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

the whole squad showed up, we love a collab 🌈

πŸ’œ Further Details πŸ’œ

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

so the lore is: jack dongarra, linpack, 3/11/78 β€” historical. and then modified 12/3/93 where the array(1) declarations got changed to array(*) πŸ”₯ glow-up of the decade honestly.

Definition at line 80 of file ccopy.f. β€” line eighty, go look, she's there πŸ’€


⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote the docs, and honestly? she did fine 🫢)


lowkey the entire takeaway is: CCOPY copies vector x to vector y, with N elements, spaced INCX apart in CX and INCY apart in CY. that's the vibe check and she passed πŸ˜­πŸ’–

mwah πŸ’‹ that's the page β€” brought to you by LAPACK, Version 3.12.0, filed under BLAS/SRC/ccopy.f(3). go copy some vectors bestie, slay βœ¨πŸŽ€

πŸ“¦ where this page comes from