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 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_2026_copy, author="Wolfram Research", title="{COPY}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}", note=[Accessed: 22-June-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: 22-June-2026]}