Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- Find specific column of matrix in symmetric CSR format

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

kim__seongik

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-15-2020
01:09 AM

242 Views

Find specific column of matrix in symmetric CSR format

Hello,

I'm finding about the subroutine which can find specific column values of matrix in symmetric CSR format..

Is there any subroutine for this purpose??

If not, how can I get the certain column or row values of matrix in symmetric CSR format?

Thank you for reading

1 Solution

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-15-2020
04:00 AM

236 Views

You do not have instant access to any given column; in fact a particular column may not exist, since only non-zero values are stored in a sparse matrix represented.

You can search within a row for a particular column, since the row is ordered in increasing column indices. Linear search is simpler to program, but binary search can be used for speed when the matrices are large.

If you find yourself doing such searches by column indices often, you have to reassess your choice of the CSR representation as being appropriate.

Link Copied

2 Replies

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-15-2020
04:00 AM

237 Views

You do not have instant access to any given column; in fact a particular column may not exist, since only non-zero values are stored in a sparse matrix represented.

You can search within a row for a particular column, since the row is ordered in increasing column indices. Linear search is simpler to program, but binary search can be used for speed when the matrices are large.

If you find yourself doing such searches by column indices often, you have to reassess your choice of the CSR representation as being appropriate.

Khang_N_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-15-2020
04:18 PM

212 Views

Hi Seongik,

Mecej4 is correct.

There is no MKL function to do that.

Best,

Khang

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.