Preallocate number of non-zeroes in ojAlgo

19 Views Asked by At

Since filling a huge SparseStore matrix from the ojAlgo package is the bottleneck of my program, I wanted to ask if there is a method or way to preallocate the number of nonzero elements like Matlab's 'spalloc' method. This would drastically reduce the runtime of my program. I appreciate any help!

0

There are 0 best solutions below