Modifies a vector (double-precision complex) in place, setting each element to a given value.
SDKs
- iOS 4.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Accelerate
Declaration
func catlas_zset(_ __N: Int32, _ __alpha: Unsafe Raw Pointer!, _ __X: Unsafe Mutable Raw Pointer!, _ __incX: Int32)
Parameters
N
The number of elements in the vector.
alpha
The new value.
X
The vector to modify.
incX
Stride within
X
. For example, ifinc
is 7, every 7th element is used.X