Performs running sum integration over a single-precision vector.


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



Single-precision real input vector.


Address stride for A.


Points to single-precision real input scalar: weighting factor.


Single-precision real output vector.


Stride for C


The number of elements to process.


Performs the following operation:

mathematical formula

Integrates vector A using a running sum from vector C. Vector A is weighted by scalar *S and added to the previous output point. The first element from vector A is not used in the sum.

See Also

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