LinearAlgebra`BLAS`
LinearAlgebra`BLAS`
SWAP
SWAP[x,y]
swaps contents of the vectors x and y.
詳細とオプション
- To use SWAP, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
- The following arguments must be given:
-
x input/output symbol vector; the symbol value is modified in place y input/output symbol vector; the symbol value is modified in place - SWAP[x,y] is equivalent to {x,y}={y,x}.
- The vector arguments must be of the same length.
例題
すべて開くすべて閉じるGeneralizations & Extensions (2)
Wolfram Research (2017), SWAP, Wolfram言語関数, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SWAP.html.
テキスト
Wolfram Research (2017), SWAP, Wolfram言語関数, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SWAP.html.
CMS
Wolfram Language. 2017. "SWAP." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SWAP.html.
APA
Wolfram Language. (2017). SWAP. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SWAP.html