This is supposed to be a high-performance neural network analysis tool but the authors decided to write it in C and use jagged arrays for everything.
Just look at this shit. I bet it could be twice as fast an infinitely more readable by using C++ with a proper fucking linear algebra library like Armadillo. Yet, there are still boomers who promote C.
>but the authors decided to write it in C and use jagged arrays for everything. Welcome to the enjoyable world of code written by mathematicians, OP. They can't code for shit.
At least it looks like they've used proper variable names, instead of regular math notation.
Noah Russell
>I bet it could be twice as fast Prove it or STFU.
Leo Lee
That's some sexy ass triple indirection, I'm not gonna lie.