Closed rtlprmft closed 2 years ago
Thanks for your suggestion. I have not made a matrix class yet because of the many complications. The code should preferably be a template to allow different dimensions. Multiply and transpose functions should use permutation instructions for optimal performance.
templatize
real-type then do specialization; would be a lot cleaner; use c++ at its full extent; it's a c++ project.I have made a matrix class now: https://github.com/vectorclass/add-on/tree/master/containers
A nice extension would be a matrix class. I have started an implementation that is attached. That would extend the use of the vector classes a bit more to mathematical calculation. Although in the attached files are proposals for cross-product, scalar-product, length, and norm. matrix.txt If there is interest, I am willing to help with the implentation.