Skip to content
fn

vle_mask_f32

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

Single-precision < boolean mask.

Computes outi=(ai<bi) ? 1:0\text{out}_i = (a_i < b_i) \,?\, 1 : 0 via a scalar loop.

Parameters

a, bconst float*
Input buffers.
outfloat*
Output buffer (0.0 / 1.0 mask).
nstd::size_t
Element count.