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.
更多信息和选项
- To use COPY, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
- The following arguments must be given:
-
x input expression vector y input/output symbol vector; the symbol value is modified in place - COPY[x,y] is equivalent to y=x.
范例
打开所有单元 关闭所有单元基本范例 (1)
Scope (4)
Properties & Relations (1)
Possible Issues (2)
If the second argument is not a symbol, an error message is issued:
COPY[x, {2, 3, 4}]If the output symbol has been initialized to a vector, the input and output must have the same length:
COPY[{1, 2}, y];
yTo avoid this error, clear the existing output symbol.
Clear[y]
COPY[{1, 2, 3}, y]文本
Wolfram Research (2017),COPY,Wolfram 语言函数,https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html.
CMS
Wolfram 语言. 2017. "COPY." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html.
APA
Wolfram 语言. (2017). COPY. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html 年
BibTeX
@misc{reference.wolfram_2026_copy, author="Wolfram Research", title="{COPY}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}", note=[Accessed: 17-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_copy, organization={Wolfram Research}, title={COPY}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}, note=[Accessed: 17-August-2026]}