- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are using this LAPACKE_dgesv (MKL function) in order to solve a linear system with dense coefficient matrix.
Sometimes the matrix is unbalanced (too different values), so bad conditioned! in this case results can be wrong.
Is there any mkl function that can alert about this situation, before running the solver?
Thank you
Gianluca
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Guinluca,
there are a number of lapack's outines for estimating the condition number of a matrix. please have a look at the gecon() as an example. You may check the cond number of your case in advance solving the system.
or you may try to play with gerfs() routine which performs an iterative refinement of the solution to a system of linear equations
-- Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Gennady, I will check it
Gianluca
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page