Josh Jersild

@JoshJers@mastodon.gamedev.place

What would you call an array of numbers where each pair of floats is a complex number, i.e:

real0, imaginary0, real1, imaginary1, ...

23 votes Β·
March 15, 2026 at 6:16:12 AM

My oldschool wants to say 'packed', but - sigh - the begrudging requirement to be able to communicate with modern humans says 'interleaved'.

interleaved is currently the clear winner and I was hoping it wouldn't be because it's the longest one 🫠

complex pairs in a flat array ?

yep - I'm trying to decide on a good one word descriptor for function identifiers πŸ˜„

We've seen interleaved (as opposed to planar)

I'd just call it an array of complex.

there's actual complex types, though ("complex float" in C and "complex<float>" in C++ - so I want a name for the function that takes it as just an array of floats to disambiguate

Elk Logo

Elk is in Preview!

Thanks for your interest in trying out Elk, our work-in-progress Mastodon web client!

Expect some bugs and missing features here and there. we are working hard on the development and improving it over time.

Elk is Open Source. If you'd like to help with testing, giving feedback, or contributing, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Anthony FuDaniel RoePatak三咲智子 Kevin Deng

The Elk Team