BLAS Level 1: swap

swap (defined in namespace flens::blas) swaps a vector with another vector, i.e. \(x \leftrightarrow y\).

x

(input/output) real or complex valued DenseVector
On entry vector \(x\).
On exit replaced with vector \(y\).

y

(input/output) real or complex valued DenseVector
On entry vector \(y\).
On exit replaced with vector \(x\).