scipy.linalg.blas.ssyr2#
- scipy.linalg.blas.ssyr2(alpha, x, y, lower=0, incx=1, offx=0, incy=1, offy=0, n=None, a=None, overwrite_a=0) = <fblas function ssyr2>#
Symmetric rank-2 update
a = alpha*(outer(x, y) + outer(y, x)) + a(BLASssyr2).- Parameters:
- alphafloat
Scalar multiplier.
- xndarray
First input vector.
- yndarray
Second input vector.
- lowerint, optional
If 0, the upper triangle is used; if 1, the lower. Default is 0.
- incxint, optional
Stride between successive elements of x. Default is 1.
- offxint, optional
Index of the first element of x to use. Default is 0.
- incyint, optional
Stride between successive elements of y. Default is 1.
- offyint, optional
Index of the first element of y to use. Default is 0.
- nint, optional
Order of the matrix. Default is inferred from x.
- andarray, optional
Matrix to update; if omitted a new zero matrix is allocated. Default is None.
- overwrite_aint, optional
If nonzero, a may be overwritten in place. Default is 0.
- Returns:
- andarray
The updated matrix.