cblas_caxpy(_:_:_:_:_:_:)
Computes a constant times a vector plus a vector (single-precision complex).
Declaration
func cblas_caxpy(_ N: __LAPACK_int, _ ALPHA: OpaquePointer, _ X: OpaquePointer?, _ INCX: __LAPACK_int, _ Y: OpaquePointer?, _ 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
Single-precision complex matrix functions
cblas_ccopy(_:_:_:_:_:)cblas_cgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgerc(_:_:_:_:_:_:_:_:_:_:)cblas_cgeru(_:_:_:_:_:_:_:_:_:_:)cblas_chbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemm(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemv(_:_:_:_:_:_:_:_:_:_:_:)cblas_cher(_:_:_:_:_:_:_:_:)cblas_cher2(_:_:_:_:_:_:_:_:_:_:)cblas_cher2k(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cherk(_:_:_:_:_:_:_:_:_:_:_:)cblas_chpmv(_:_:_:_:_:_:_:_:_:_:)cblas_chpr(_:_:_:_:_:_:_:)