bundles / scipy latest / scipy / linalg / _fblas / sswap
blas_function
scipy.linalg._fblas:sswap
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def sswap(x, y, n = None, offx = 0, incx = 1, offy = 0, incy = 1)Summary
Swap the contents of x and y in place (BLAS sswap).
Parameters
x: ndarrayInput/output vector; on exit it holds the original
y.y: ndarrayInput/output vector; on exit it holds the original
x.n: int, optionalNumber of elements to process. Default is the whole vector.
offx: int, optionalIndex of the first element of
xto use. Default is 0.incx: int, optionalStride between successive elements of
x. Default is 1.offy: int, optionalIndex of the first element of
yto use. Default is 0.incy: int, optionalStride between successive elements of
y. Default is 1.
Returns
x: ndarrayThe vector
xafter the swap.y: ndarrayThe vector
yafter the swap.
Aliases
scipy.linalg._fblas.sswap