ChillFish8 / cfavml

An unopinionated SIMD vector operation library for Rust, supporting no_std and no-alloc workloads.
Apache License 2.0
2 stars 0 forks source link

Complex Number Support? #4

Open abstractqqq opened 3 weeks ago

abstractqqq commented 3 weeks ago

I am trying this in my package and it has significantly sped up higher dimension vector math for me.. I am wondering if complex number support is planned? Thank you

ChillFish8 commented 3 weeks ago

Good to hear it is useful to you :)

I would say probably not in the near future as I'm not very familiar with complex number operations and they likely require some more specialized handling to do the standard arithmetic operations on most hardware.

Happy to accept PRs for it, I think most of the work would be around implementing the SimdRegister<T> trait on the various CPU flags and everything else should 'just work' but I am going to be sticking with non-complex types for now.