Function

vDSP_vadd

Adds two vectors; single precision.

Declaration

void vDSP_vadd(const float *__A, vDSP_Stride __IA, const float *__B, vDSP_Stride __IB, float *__C, vDSP_Stride __IC, vDSP_Length __N);

Parameters

__A

Single-precision real input vector.

__IA

Stride for A.

__B

Single-precision real input vector.

__IB

Stride for B.

__C

Single-precision real output vector.

__IC

Stride for C.

__N

Number of elements to add.

Discussion

This function adds the first N elements of A to B and leaves the result in C: