catlas_dset(_:_:_:_:)
Modifies a vector (double-precision) in place, setting each element to a given value.
Declaration
func catlas_dset(_ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafeMutablePointer<Double>, _ INCX: __LAPACK_int)Parameters
- N:
The number of elements in the vector.
- ALPHA:
The new value.
- X:
The vector to modify.
- INCX:
Stride within
X. For example, ifincXis 7, every 7th element is used.
Discussion
See Also
CATLAS and CBLAS vector functions
catlas_caxpby(_:_:_:_:_:_:_:)catlas_cset(_:_:_:_:)catlas_daxpby(_:_:_:_:_:_:_:)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(_:_:_:_:_:_:)