naginterfaces.library.blas.daxpy¶
- naginterfaces.library.blas.daxpy(alpha, x, y)[source]¶
daxpy
adds a scaled real vector to an unscaled real vector.For full information please refer to the NAG Library document for f06ec
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06ecf.html
- Parameters
- alphafloat
The scalar .
- xfloat, array-like, shape
The -element vector .
- yfloat, array-like, shape
The -element vector .
- Returns
- yfloat, ndarray, shape
The updated vector .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.
daxpy
performs the operationwhere and are -element real vectors, and is a real scalar.
- References
Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325