LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

# 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 vector y input/output symbol vector; the symbol value is modified in place
• COPY[x,y] is equivalent to y=x.

# Examples

open allclose all

## Basic Examples(1)

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.

Wolfram Research (2017), COPY, Wolfram Language function, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html.

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

#### BibLaTeX

@online{reference.wolfram_2023_copy, organization={Wolfram Research}, title={COPY}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/COPY.html}, note=[Accessed: 15-June-2024 ]}