Reputation: 55
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!
Upvotes: 1
Views: 28