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

Check if entry exists in sparse matrix?

Tags: None
(comma "," separated)
christopherbatty
Registered Member
Posts
8
Karma
0
OS
Is there a simple way to test if a given entry exists in a DynamicSparseMatrix without changing the matrix? Is the best I can do to just test "matrix.coeff(i,j) == 0"?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
yes that's the best for know though that don't allow to distinguish from explicit zero.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]