bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / zrot
lapack_function
scipy.linalg._flapack:zrot
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def zrot(x, y, c, s, n = Ellipsis, offx = 0, incx = 1, offy = 0, incy = 1, overwrite_x = 0, overwrite_y = 0)Summary
Apply a plane rotation to a pair of complex vectors (LAPACK zrot).
Extended Summary
Only the complex flavors exist here; for real vectors this is BLAS rot.
Parameters
x: ndarrayFirst vector.
y: ndarraySecond vector.
c: floatThe cosine. Real even though the vectors are complex.
s: complexThe sine.
n: int, optionalHow many elements to rotate. Default is as many as
xallows fromoffxat strideincx.offx: int, optionalIndex in
xto start from. Default is 0.incx: int, optionalStride through
x. Default is 1.offy: int, optionalIndex in
yto start from. Default is 0.incy: int, optionalStride through
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 first vector.
y: ndarrayThe rotated second vector.
Aliases
scipy.linalg._flapack.zrot