Skip to content
fn

vzmul_c64

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

Complex C64 elementwise multiplication on interleaved storage.

Multiplies two complex64 vectors stored as interleaved [re, im, re, im, ...] floats. Internally rebinds the buffers as DSPSplitComplex views (via Accelerate's DSPComplex * cast) and delegates to vDSP_zvmul with flag = 1 (no conjugation).

Math

outi=ai⋅bi,ai,bi∈C\text{out}_i = a_i \cdot b_i, \quad a_i, b_i \in \mathbb{C}

References

Accelerate.framework vDSP_zvmul.

Parameters

a, bconst float*
Interleaved complex buffers, length 2n2n floats.
outfloat*
Interleaved complex output buffer, length 2n2n floats.
nstd::size_t
Number of complex elements (NOT floats).