scipy.linalg.blas.dsyr#
- scipy.linalg.blas.dsyr(alpha, x, lower=0, incx=1, offx=0, n=None, a=None, overwrite_a=0) = <fblas function dsyr>#
Symmetric rank-1 update
a = alpha*outer(x, x) + a(BLASdsyr).- Parameters:
- alphafloat
Scalar multiplier.
- xndarray
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.
- nint, optional
Order of the matrix. Default is inferred from x.
- andarray, optional
Symmetric 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.