scipy.linalg.blas.dsyr2k#
- scipy.linalg.blas.dsyr2k(alpha, a, b, beta=0.0, c=None, trans=0, lower=0, overwrite_c=0) = <fblas function dsyr2k>#
Symmetric rank-2k update
c = alpha*(op(a)@op(b).T + op(b)@op(a).T) + beta*c(BLASdsyr2k).- Parameters:
- alphafloat
Scalar multiplier for the product.
- andarray
First input matrix.
- bndarray
Second input matrix.
- betafloat, optional
Scalar multiplier for c. Default is 0.
- cndarray, optional
Symmetric matrix to update; if omitted a new zero matrix is allocated. Default is None.
- transint, optional
Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.
- lowerint, optional
If 0, the upper triangle is used; if 1, the lower. Default is 0.
- overwrite_cint, optional
If nonzero, c may be overwritten in place. Default is 0.
- Returns:
- cndarray
The updated matrix.