COPY[x,y]
copies the contents of the vector x to the vector y.
COPY
COPY[x,y]
copies the contents of the vector x to the vector y.
Details and Options
- To use COPY, you first need to load the BLAS Package using Needs ["LinearAlgebra`BLAS`"].
- The following arguments must be given:
-
x input expression vectory input/output symbol vector; the symbol value is modified in place
- COPY[x,y] is equivalent to y=x.
Examples
open all close allBasic Examples (1)
Load the BLAS package:
Assign a vector to y:
Scope (4)
A real vector :
A complex vector:
An arbitrary-precision vector:
A symbolic vector:
Properties & Relations (1)
COPY[x,w] is equivalent to w=x:
Possible Issues (2)
If the second argument is not a symbol, an error message is issued:
If the output symbol has been initialized to a vector, the input and output must have the same length:
To avoid this error, clear the existing output symbol.
Related Guides
Text
Wolfram Research (2017), COPY, Wolfram Language function, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html.
CMS
Wolfram Language. 2017. "COPY." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html.
APA
Wolfram Language. (2017). COPY. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html
BibTeX
@misc{reference.wolfram_2025_copy, author="Wolfram Research", title="{COPY}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}", note=[Accessed: 09-January-2026]}
BibLaTeX
@online{reference.wolfram_2025_copy, organization={Wolfram Research}, title={COPY}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}, note=[Accessed: 09-January-2026]}