I am using Intellj idea. I heard about UJMP package to create sparse and dense Matrix. I need to create sparse matrix. For that I go to UJMP website. Download a zip file. After extract that a folder created universal-java-matrix-package-master
. I copy paste that within my program src file. Then import this package in my program. Then write down the code from there documentation
Matrix sparse = SparseMatrix.Factory.zeros(4, 4);
sparse.setAsDouble(2.0, 0, 0);
But this is not working. Can any one guide me how to import UJMP package in my class file? What are the procedure and step involve with it? Which code used to create sparse matrix? I also read this link UJMP Java library for sparse matrix but don't think this one help me.