- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it true that Intel MKL compressed sparse row (CSR)format requires that each and every row of the sparse matrix should have at least one none-zero element?
In page 2756 of the Intel MKL Reference Manual(2007), it is said that CSR format for sparse matrix A consists of four arrays,which are called the values, columns, pointerB, and pointerE arrays, and that the length of pointerB array is equal to the number of rows in A. Besides, element j of pointerB array gives the index into the values array that contains the first non-zero element in a row j of A.So we can deduce that every row of A must have at least one non-zero element.
The problem is, what would happen if some rows of A consist of all zeros?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it should works w/o problem, if I am not mistaken we should change the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the missing information in the documentation can be really misleading and result in some bugs in appplications.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page