Skip to content
fn

vmax_f32

void vmax_f32(const float * a, const float * b, float * out, int n)

Single-precision elementwise maximum.

Computes outi=max⁡(ai,bi)\text{out}_i = \max(a_i, b_i) via vDSP_vmax.

References

Accelerate.framework vDSP_vmax.

Parameters

a, bconst float*
Input buffers.
outfloat*
Output buffer.
nstd::size_t
Element count.