catlas_daxpby(_:_:_:_:_:_:_:)
Computes the sum of two vectors, scaling each one separately (double-precision).
Declaration
func catlas_daxpby(_ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int, _ BETA: Double, _ Y: UnsafeMutablePointer<Double>?, _ INCY: __LAPACK_int)Parameters
- N:
Number of elements in the vector.
- ALPHA:
Scaling factor for
X. - X:
Input vector
X. - INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used. - BETA:
Scaling factor for Y.
- 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.
See Also
CATLAS and CBLAS vector functions
catlas_caxpby(_:_:_:_:_:_:_:)catlas_cset(_:_:_:_:)catlas_dset(_:_:_:_:)catlas_saxpby(_:_:_:_:_:_:_:)catlas_sset(_:_:_:_:)catlas_zaxpby(_:_:_:_:_:_:_:)catlas_zset(_:_:_:_:)cblas_sdot(_:_:_:_:_:)cblas_sdsdot(_:_:_:_:_:_:)cblas_cdotc_sub(_:_:_:_:_:_:)cblas_cdotu_sub(_:_:_:_:_:_:)cblas_ddot(_:_:_:_:_:)cblas_dsdot(_:_:_:_:_:)cblas_zdotc_sub(_:_:_:_:_:_:)cblas_zdotu_sub(_:_:_:_:_:_:)