Skip to content
fn

vpow_f32

void vpow_f32(const float * base, const float * expo, float * out, int n)

Single-precision elementwise power.

Computes outi=baseiexpoi\text{out}_i = \text{base}_i^{\text{expo}_i} via vvpowf. vForce's native argument order is (out, expo, base, &n); this wrapper reorders to the more natural (base, expo, out, n) for call sites.

Math

outi=basei expoi\text{out}_i = \text{base}_i^{\,\text{expo}_i}

References

Accelerate.framework vvpowf.

Parameters

baseconst float*
Bases.
expoconst float*
Exponents.
outfloat*
Output buffer.
nstd::size_t
Element count.