|
|
◆ dswap()
| void dswap |
( |
int |
n, |
|
|
double |
x[], |
|
|
int |
incx, |
|
|
double |
y[], |
|
|
int |
incy |
|
) |
| |
y <-> x (BLAS 1)
- Purpose
- This routine interchanges two vectors.
- Parameters
-
| [in] | n | Number of elements in vectors x and y. (If n <= 0, returns without computation) |
| [in,out] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
[in] Input vector x.
[out] Output vector. (= input vector y) |
| [in] | incx | Storage spacing between elements of x. |
| [in,out] | y[] | Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
[in] Input vector y.
[out] Output vector. (= input vector x) |
| [in] | incy | Storage spacing between elements of y. |
- Reference
- BLAS
|