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

1 Solution

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

_{i,j}= 0 if i j ? If that's the case, why are you using a linear solver? x

_{i}= b

_{i}/ A

_{i,i}

^{.}

Link Copied

4 Replies

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

Your matrix is sparse so try to use PARDISO solver. Format for diagonal matrix is pretty simple (more detailes could be found in Intel Math Kernel Library ReferenceManual, Chapter 8)

With best regards,

Alexander Kalinkin

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

Thanks alex.

I am aware that Pardiso is a choice.

But let's say if I am insisting on using LAPACK?

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

If you really want to use LAPACK for solving system of equation with diagonal matrix usebanded format for storing it.

With best regards,

Alexander Kalinkin

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

_{i,j}= 0 if i j ? If that's the case, why are you using a linear solver? x

_{i}= b

_{i}/ A

_{i,i}

^{.}

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