bundles / scipy latest / scipy / linalg / _fblas / zdrot
blas_function
scipy.linalg._fblas:zdrot
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def zdrot(x, y, c, s, n = None, offx = 0, incx = 1, offy = 0, incy = 1, overwrite_x = 0, overwrite_y = 0)Summary
Apply a Givens plane rotation to x and y: x, y = c*x + s*y, c*y - s*x (BLAS zdrot).
Parameters
x: ndarrayInput/output vector; on exit it holds
c*x + s*y.y: ndarrayInput/output vector; on exit it holds
c*y - s*x.c: floatCosine of the rotation (real, even though
xandyare complex).s: floatSine of the rotation (real, even though
xandyare complex).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.overwrite_x: int, optionalIf nonzero,
xmay be overwritten in place. Default is 0.overwrite_y: int, optionalIf nonzero,
ymay be overwritten in place. Default is 0.
Returns
x: ndarrayThe rotated vector
x.y: ndarrayThe rotated vector
y.
Aliases
scipy.linalg._fblas.zdrot