Calculates the negative value of each element in the supplied double-precision vector using specified stride.
SDKs
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Accelerate
Declaration
func vDSP_vnegD(_ __A: Unsafe Pointer<Double>, _ __IA: v DSP _Stride, _ __C: Unsafe Mutable Pointer<Double>, _ __IC: v DSP _Stride, _ __N: v DSP _Length)
Discussion
This function is the same as v
, except for the types of vectors A
and C
.