Hi, I’m writing a plugin for Imagej2 which is my first one, and I require a bit of matrix manipulation, I mean, reshaping, transpose and SVD for example of many small submatrices. So I’d like to know which libraries do you recommend nowadays. I need to repeat the same operations in different parts of an image. Sorry if it is not a valid question.
My first attempt was to use JBlas since I had read it was one of the fastest libraries. However, each operation requires copying the entire matrix for most of the operations I need. Then I changed the whole computation part to ND4J gaining twice the speed with practically the same operations. The only difference is that ND4J allows accessing to submatrices and other operations in place and without copying them.
I was really happy until I realize I required a lot of dependencies for making it work on FIJI; and I would like people to use it without so many requirements. Now I’m thinking about trying EJML but I don’t know if it worth it. I didn’t try JAMA since most comments about it were from a few years ago, but maybe I should try it too.