In the Python world, if I have some number crunching to do, I use NumPy and it's friends like Matplotlib.
Now I have an Android/Java application and the need arises to crunch some numbers and I am wondering what I should do. Roll my own wrappers around Arrays of Floats?!? That sounds horrible. I want something more high-level.
Operations that I would need to perform are typical vector-scalar or vector-vector operations:
- find the maximum element in a vector
- calculate the sum of all elements in a vector
- dot/cross/element-wise product of two vectors
Later I might be interested in advanced operations like FFT or matrix operations, but right now I am looking for a solid basic library to prevent me from reinventing the wheel.
Any suggestions?
java linear algebra library
?