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:CCOPYcopies vectorxto vectory, withNelements, spacedINCXapart inCXandINCYapart inCY. 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
- 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