copy(3)
πΈ copy(3) πΈ
hi bestie π welcome to copy(3) from the Library Functions Manual. this is the page where copy does exactly what it says on the tin: y = x. no cap.
πΈ NAME πΈ
copy β copy: y = x
β¨ SYNOPSIS β¨
π Functions π
okay so there are four flavors, one for each Fortran type. all iconic, all doing the same copy vibe:
ccopy β CCOPY
subroutine ccopy (integer n, complex, dimension(*) cx, integer incx,
complex, dimension(*) cy, integer incy)
dcopy β DCOPY
subroutine dcopy (integer n, double precision, dimension(*) dx, integer
incx, double precision, dimension(*) dy, integer incy)
scopy β SCOPY
subroutine scopy (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy)
zcopy β ZCOPY
subroutine zcopy (integer n, complex*16, dimension(*) zx, integer incx,
complex*16, dimension(*) zy, integer incy)
π¦ Detailed Description π¦
this section is short and sweet, bestie: the full function tea is literally right below π
π Function Documentation π
π ccopy β CCOPY π
Signature:
subroutine ccopy (integer n, complex, dimension(*) cx, integer incx,
complex, dimension(*) cy, integer incy)
Purpose: CCOPY copies a vector x to a vector y. that's the whole assignment, and it ate π
Parameters
Nβ isINTEGER, and it's the number of elements in input vector(s).CXβ isCOMPLEX array, dimension( 1 + ( N - 1 )*abs( INCX ) ).INCXβ isINTEGER, the storage spacing between elements ofCX.CYβ isCOMPLEX array, dimension( 1 + ( N - 1 )*abs( INCY ) ).INCYβ isINTEGER, the storage spacing between elements ofCY.
Author:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78.modified 12/3/93, array(1) declarations changed to array(*)
Definition: at line 80 of file ccopy.f.
π dcopy β DCOPY π
Signature:
subroutine dcopy (integer n, double precision, dimension(*) dx, integer
incx, double precision, dimension(*) dy, integer incy)
Purpose: DCOPY copies a vector, x, to a vector, y. it uses unrolled loops for increments equal to 1. periodt β¨
Parameters
Nβ isINTEGER, and it's the number of elements in input vector(s).DXβ isDOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCX ) ).INCXβ isINTEGER, the storage spacing between elements ofDX.DYβ isDOUBLE PRECISION array, dimension( 1 + ( N - 1 )*abs( INCY ) ).INCYβ isINTEGER, the storage spacing between elements ofDY.
Author:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78.modified 12/3/93, array(1) declarations changed to array(*)
Definition: at line 81 of file dcopy.f.
π scopy β SCOPY π
Signature:
subroutine scopy (integer n, real, dimension(*) sx, integer incx, real,
dimension(*) sy, integer incy)
Purpose: SCOPY copies a vector, x, to a vector, y. it uses unrolled loops for increments equal to 1. slay π
Parameters
Nβ isINTEGER, and it's the number of elements in input vector(s).SXβ isREAL array, dimension( 1 + ( N - 1 )*abs( INCX ) ).INCXβ isINTEGER, the storage spacing between elements ofSX.SYβ isREAL array, dimension( 1 + ( N - 1 )*abs( INCY ) ).INCYβ isINTEGER, the storage spacing between elements ofSY.
Author:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78.modified 12/3/93, array(1) declarations changed to array(*)
Definition: at line 81 of file scopy.f.
π zcopy β ZCOPY π
Signature:
subroutine zcopy (integer n, complex*16, dimension(*) zx, integer incx,
complex*16, dimension(*) zy, integer incy)
Purpose: ZCOPY copies a vector, x, to a vector, y. iconic behavior, honestly π
Parameters
Nβ isINTEGER, and it's the number of elements in input vector(s).ZXβ isCOMPLEX*16 array, dimension( 1 + ( N - 1 )*abs( INCX ) ).INCXβ isINTEGER, the storage spacing between elements ofZX.ZYβ isCOMPLEX*16 array, dimension( 1 + ( N - 1 )*abs( INCY ) ).INCYβ isINTEGER, the storage spacing between elements ofZY.
Author:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
jack dongarra, linpack, 4/11/78.modified 12/3/93, array(1) declarations changed to array(*)
Definition: at line 80 of file zcopy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π
okay that's the whole page, bestie π«Ά the footer tea is LAPACK Version 3.12.0 β that's the source/version, and there's no date line to report. bye πβ¨
π¦ 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