This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / crot

lapack_function

scipy.linalg._flapack:crot

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def crot(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 crot).

Extended Summary

Only the complex flavors exist here; for real vectors this is BLAS rot.

Parameters

x : ndarray

First vector.

y : ndarray

Second vector.

c : float

The cosine. Real even though the vectors are complex.

s : complex

The sine.

n : int, optional

How many elements to rotate. Default is as many as x allows from offx at stride incx.

offx : int, optional

Index in x to start from. Default is 0.

incx : int, optional

Stride through x. Default is 1.

offy : int, optional

Index in y to start from. Default is 0.

incy : int, optional

Stride through y. Default is 1.

overwrite_x : int, optional

If nonzero, x may be overwritten in place. Default is 0.

overwrite_y : int, optional

If nonzero, y may be overwritten in place. Default is 0.

Returns

x : ndarray

The rotated first vector.

y : ndarray

The rotated second vector.

Aliases

  • scipy.linalg._flapack.crot