Single-precision scaled vector accumulation, .
The BLAS name for "add a scaled copy of one vector to another", and the building block of any linear combination of same-shaped buffers. Preferred over a multiply into a temporary followed by an add: it needs no temporary, touches once per term instead of three times, and Accelerate's kernel contracts the multiply and the add into a single rounding.
Math
References
Accelerate.framework cblas_saxpy.
Parameters
nintElement count.
alphafloatScale applied to .
xconst float*Vector to accumulate; unchanged.
yfloat*Accumulator, updated in place.