Gathers a single-precision vector using the specified pointers.


func vDSP_vgathra(_ __A: UnsafeMutablePointer<UnsafePointer<Float>>, _ __IA: vDSP_Stride, _ __C: UnsafeMutablePointer<Float>, _ __IC: vDSP_Stride, _ __N: vDSP_Length)



Input vector containing pointers to single-precision values in memory.


Address stride for A.


Single-precision real output vector.


Address stride for C.


The number of elements to process.


Performs the following operation:

for (n = 0; n < N; ++n){
    C[n*IC] = *A[n*IA];

Uses elements of vector A as pointers to copy selected single-precision values from memory to sequential locations in vector C. This function can only be done out of place.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software