SCOPY(3)

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

πŸ’– 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 β€” N is INTEGER. it's the number of elements in the input vector(s), like how many besties are coming to the party πŸŽ€
  • SX β€” SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) β€” this is the source, the origin story πŸ’œ
  • INCX β€” INCX is INTEGER, the storage spacing between elements of SX β€” aka how far apart the SX girlies are standing πŸ¦‹
  • INCY β€” wait, hold on, keep reading πŸ‘‡
  • SY β€” SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) β€” the destination, where the copies land, slay ✨
  • INCY β€” INCY is INTEGER, the storage spacing between elements of SY β€” same deal as INCX but for the SY side, 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