DCOPY(3)
β¨ DCOPY(3) β¨
okay so bestie, welcome to DCOPY β it's a page from the LAPACK Library Functions Manual, and it's literally the most "copy-paste but make it math" situation ever π
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/dcopy.f
yep, that's the whole name, that's the whole path, and honestly? she said "I contain multitudes" and meant it π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine DCOPY (n, dx, incx, dy, incy)β DCOPY
π¦ Function/Subroutine Documentation π¦
subroutine DCOPY (integer n, double precision, dimension(*) dx, integer
incx, double precision, dimension(*) dy, integer incy)
DCOPY. That's her. That's the whole name. Iconic behavior, no notes β¨
π Purpose: π
!>
!> DCOPY copies a vector, x, to a vector, y.
!> uses unrolled loops for increments equal to 1.
!>
so she copies a vector, x, over to a vector, y β and when the increments equal 1 she uses unrolled loops, which is the computational equivalent of doing it with her eyes closed bc she's just that good π
π Parameters π
N
!> N is INTEGER
!> number of elements in input vector(s)
!>
it's an INTEGER, and it's the number of elements in your input vector(s). how many things are we copying? N. that's it. that's the number π«Ά
DX
!> DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>
DX is a DOUBLE PRECISION array and her dimension is literally ( 1 + ( N - 1 )*abs( INCX ) ) β yes the abs matters, she's not playing games π
INCX
!> INCX is INTEGER
!> storage spacing between elements of DX
!>
INCX is an INTEGER and she's the storage spacing between elements of DX. the ~vibes~ between them, if you will π
DY
!> DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
!>
DY is a DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). notice it's INCY and not INCX β read carefully bestie, these two are sisters not twins π
INCY
!> INCY is INTEGER
!> storage spacing between elements of DY
!>
INCY is an INTEGER, the storage spacing between elements of DY. that's her whole job and she's slaying it π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
look at that group project actually getting finished, we love to see it π«Άβ¨
π Further Details: π
!>
!> jack dongarra, linpack, 3/11/78.
!> modified 12/3/93, array(1) declarations changed to array(*)
!>
shoutout jack dongarra, linpack, dated 3/11/78 β and then modified 12/3/93, array(1) declarations changed to array(*) which is giving "glow up, but make it type declarations" π«
fr fr copy the dates exactly if you're citing her,3/11/78and12/3/93, no cap π§
β Definition β
Definition at line 81 of file dcopy.f.
π lowkey reminder:DXandDYsizes are( 1 + ( N - 1 )*abs( INCX ) )and( 1 + ( N - 1 )*abs( INCY ) )respectively β they are NOT the same formula, do not swap them, I'm begging π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the tea bestie β this page came straight out of LAPACK, Version 3.12.0, tied to /home/abui...SRC/dcopy.f(3), auto-generated by Doxygen and delivered to you with love ππβ¨
π¦ 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