Function

vDSP_sve

Vector sum; single precision.

Declaration

void vDSP_sve(const float *__A, vDSP_Stride __I, float *__C, vDSP_Length __N);

Parameters

__A

Single-precision real input vector.

__I

Stride for A

__C

Single-precision real output scalar

__N

The number of elements to process

Discussion

This performs the following operation:

Writes the sum of the elements of A into *C. If N is zero (0), this function returns 0 in *C.