Jakob Rainer
Jakob Rainer

Reputation: 55

Preallocate number of non-zeroes in ojAlgo

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

Answers (0)

Related Questions