This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _fblas / csyr2k

blas_function

scipy.linalg._fblas:csyr2k

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

Signature

def csyr2k(alpha, a, b, beta = 0.0, c = None, trans = 0, lower = 0, overwrite_c = 0)

Summary

Symmetric rank-2k update c = alpha*(op(a)@op(b).T + op(b)@op(a).T) + beta*c (BLAS csyr2k).

Parameters

alpha : complex

Scalar multiplier for the product.

a : ndarray

First input matrix.

b : ndarray

Second input matrix.

beta : complex, optional

Scalar multiplier for c. Default is 0.

c : ndarray, optional

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

trans : int, optional

Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.

lower : int, optional

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

overwrite_c : int, optional

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

Returns

c : ndarray

The updated matrix.

Aliases

  • scipy.linalg._fblas.csyr2k