This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Optimizing the memory for a huge sparse matrix

Tags: None
(comma "," separated)
Tarek
Registered Member
Posts
12
Karma
0
Are there any useful tips that can help me reduce/optimize the memory footprint required to store a huge Eigen sparse matrix? For example, are there useful icc compiler flags, or would specifying apriori the number of nonzero elements yield a better performance?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
We have two sparse product implementation, the default one:

R = A * B;

and a second one:

A = (A*B).pruned();

which can in addition remove small entries on the fly:

A = (A*B).pruned(eps);
A = (A*B).pruned(eps,ref);

see this page:
http://eigen.tuxfamily.org/dox-devel/Tu ... FeatureSet


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell