SCOPY(3)
π SCOPY(3) β Library Functions Manual π
okay bestie, so this one lives in the Library Functions Manual and it's the glow-up story of scopy.f, straight out of the <pink>LAPACK</pink> world. Buckle up, she's short but she's iconic π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/scopy.f
like... that's literally her whole address, no cap π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SCOPY (n, sx, incx, sy, incy)
SCOPY β that's her, that's the whole name π«Ά
π¦ Function/Subroutine Documentation π¦
subroutine SCOPY (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy)
SCOPY π
Purpose:
!>
!> SCOPY copies a vector, x, to a vector, y.
!> uses unrolled loops for increments equal to 1.
!>
so like, real talk: she copies vector x into vector y, okay? and the moment an increment equals 1 she goes full main-character and uses unrolled loops β she's not doing extra laps for nobody, periodt π₯
Parameters
NβNisINTEGER. it's the number of elements in the input vector(s), like how many besties are coming to the party πSXβSXisREALarray, dimension( 1 + ( N - 1 )*abs( INCX ) )β this is the source, the origin story πINCXβINCXisINTEGER, the storage spacing between elements ofSXβ aka how far apart theSXgirlies are standing π¦INCYβ wait, hold on, keep reading πSYβSYisREALarray, dimension( 1 + ( N - 1 )*abs( INCY ) )β the destination, where the copies land, slay β¨INCYβINCYisINTEGER, the storage spacing between elements ofSYβ same deal asINCXbut for theSYside, iykyk π
(lol yes the original lists INCX before SY, we're keeping her order exactly, no notes π)
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions co-signing her, we love a collaborative queen π
Further Details:
!>
!> jack dongarra, linpack, 3/11/78.
!> modified 12/3/93, array(1) declarations changed to array(*)
!>
okay so she's literally been around since 3/11/78 (jack dongarra, linpack, icon behavior), and then got a little refresh on 12/3/93 where the array(1) declarations were changed to array(*) β a subtle glow-up but we noticed π
fr fr this is the Definition at line 81 of file scopy.f. β line 81, mark it, remember it π
Author
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, a robot wrote this part, but she ate anyway π€β¨)
π sign-off π
that's the whole page, bestie!! this is LAPACK, Version 3.12.0, dated right on /home/abui...SRC/scopy.f(3) β go forth and copy those vectors, you're gonna slay ππ«Άπ </parameter>
π¦ 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