cblas_daxpy(_:_:_:_:_:_:)
Computes a constant times a vector plus a vector (double-precision).
Declaration
func cblas_daxpy(_ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int, _ Y: UnsafeMutablePointer<Double>?, _ INCY: __LAPACK_int)Parameters
- N:
Number of elements in the vectors.
- ALPHA:
Scaling factor for the values in
X. - X:
Input vector
X. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - Y:
Input vector
Y. - INCY:
Stride within
Y. For example, ifincYis 7, every 7th element is used.
Discussion
On return, the contents of vector Y are replaced with the result. The value computed is (alpha * X[i]) + Y[i].
See Also
Double-precision float matrix functions
cblas_dasum(_:_:_:)cblas_dcopy(_:_:_:_:_:)cblas_dgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dger(_:_:_:_:_:_:_:_:_:_:)cblas_dnrm2(_:_:_:)cblas_drot(_:_:_:_:_:_:_:)cblas_drotg(_:_:_:_:)cblas_drotm(_:_:_:_:_:_:)cblas_drotmg(_:_:_:_:_:)cblas_dsbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dscal(_:_:_:_:)cblas_dspmv(_:_:_:_:_:_:_:_:_:_:)cblas_dspr(_:_:_:_:_:_:_:)