Computes the signed squared value of each element in the supplied single-precision vector.
SDKs
- iOS 4.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Accelerate
Declaration
func vDSP_vssq(_ __A: Unsafe Pointer<Float>, _ __IA: v DSP _Stride, _ __C: Unsafe Mutable Pointer<Float>, _ __IC: v DSP _Stride, _ __N: v DSP _Length)
Parameters
__A
Single-precision real input vector.
__IA
Address stride for
A
.__C
Single-precision real output vector.
__IC
Address stride for
C
.__N
The number of elements to process.
Discussion
This performs the following operation:
