- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the following matrix:
3.0 2.0
2.0 3.0
i get an incorrect answer for the inverse matrix when using the routines for a symmetric positive-definite matrix:
call potrf(M)
call potri(M)
The result i get is:
0.6 2.0
-0.4 0.6
When i use
call getrf(M,ipiv)
call getri(M,ipiv)
i do get the correct answer:
0.6 -0.4
-0.4 0.6
Any ideas why this is happening?
Thanks,
Vincent
3.0 2.0
2.0 3.0
i get an incorrect answer for the inverse matrix when using the routines for a symmetric positive-definite matrix:
call potrf(M)
call potri(M)
The result i get is:
0.6 2.0
-0.4 0.6
When i use
call getrf(M,ipiv)
call getri(M,ipiv)
i do get the correct answer:
0.6 -0.4
-0.4 0.6
Any ideas why this is happening?
Thanks,
Vincent
Link Copied
0 Replies

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