scipy.linalg.blas.cgemv#
- scipy.linalg.blas.cgemv(alpha, a, x, beta=0.0, y=None, offx=0, incx=1, offy=0, incy=1, trans=0, overwrite_y=0) = <fblas function cgemv>#
Compute the matrix-vector product
y = alpha*op(a)@x + beta*y(BLAScgemv).- Parameters:
- alphacomplex
Scalar multiplier for the product.
- andarray
Input matrix.
- xndarray
Input vector.
- betacomplex, optional
Scalar multiplier for y. Default is 0.
- yndarray, optional
Input/output vector; if omitted a new zero vector is allocated. Default is None.
- offxint, optional
Index of the first element of x to use. Default is 0.
- incxint, optional
Stride between successive elements of x. Default is 1.
- offyint, optional
Index of the first element of y to use. Default is 0.
- incyint, optional
Stride between successive elements of y. Default is 1.
- transint, optional
Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.
- overwrite_yint, optional
If nonzero, y may be overwritten in place. Default is 0.
- Returns:
- yndarray
The vector
alpha*op(a)@x + beta*y, whereop(a)is a,a.T, ora.conj().Taccording to trans.