You can use either C/C++ or python . JAVA is even slower than what you have right now. Besides the performance of JAVA matrix arithmetic library is not that great. Loops always eat lots and lots of memory that is for sure.
15 Million Students Helped!
Sign up to view the full answer