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 / _fblas / cher2

blas_function

scipy.linalg._fblas:cher2

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

Signature

def cher2(alpha, x, y, lower = 0, incx = 1, offx = 0, incy = 1, offy = 0, n = None, a = None, overwrite_a = 0)

Summary

Hermitian rank-2 update a = alpha*outer(x, conj(y)) + conj(alpha)*outer(y, conj(x)) + a (BLAS cher2).

Parameters

alpha : complex

Scalar multiplier.

x : ndarray

First input vector.

y : ndarray

Second input vector.

lower : int, optional

If 0, the upper triangle is used; if 1, the lower. Default is 0.

incx : int, optional

Stride between successive elements of x. Default is 1.

offx : int, optional

Index of the first element of x to use. Default is 0.

incy : int, optional

Stride between successive elements of y. Default is 1.

offy : int, optional

Index of the first element of y to use. Default is 0.

n : int, optional

Order of the matrix. Default is inferred from x.

a : ndarray, optional

Matrix to update; if omitted a new zero matrix is allocated. Default is None.

overwrite_a : int, optional

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

Returns

a : ndarray

The updated matrix.

Aliases

  • scipy.linalg._fblas.cher2