scipy.linalg.blas.caxpy#
- scipy.linalg.blas.caxpy(x, y, n=None, a=1.0, offx=0, incx=1, offy=0, incy=1) = <fblas function caxpy>#
Compute
y = a*x + y(BLAScaxpy).- Parameters:
- xndarray
Input vector.
- yndarray
Input/output vector; on exit it holds
a*x + y.- nint, optional
Number of elements to process. Default is the whole vector.
- acomplex, optional
Scalar multiplier. Default is 1.
- 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.
- Returns:
- yndarray
The updated vector
a*x + y.