Post Reply 
48/50 Linear System Solver
02-16-2014, 11:40 PM
Post: #6
RE: 48/50 Linear System Solver
(02-16-2014 06:00 PM)Dieter Wrote:  What does it return if you try to evaluate the determinant? Something very close to (but not equal to) zero?
Exactly 0. The RANK of the matrix gives 2.
When flag -22 is cleared (Infinite -> error) I get an error (Infinite Result) when I use / or 1/x to solve the equation. However I get Tim's result when the flag -22 is set or when I use LSQ or the linear solver. But when you calculate the residual with RSD you will notice that the computed solution isn't close to an actual solution. Furthermore the condition number is huge: 9.8e15. The approximate number of accurate digits is thus 0. When the flag -22 is cleared I get the same error: Infinite Result.

We get a slightly different result when the last equation is replaced by 4*Ⅰ-3*Ⅱ:
-2x + y + 7z =-6

Now we get a real solution which can be checked with the residual.

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
48/50 Linear System Solver - Tim Wessman - 02-13-2014, 01:30 AM
RE: 48/50 Linear System Solver - Dieter - 02-16-2014, 06:00 PM
RE: 48/50 Linear System Solver - Thomas Klemm - 02-16-2014 11:40 PM
RE: 48/50 Linear System Solver - Werner - 02-17-2014, 08:18 AM
RE: 48/50 Linear System Solver - Han - 01-14-2015, 05:35 PM
RE: 48/50 Linear System Solver - Werner - 01-15-2015, 12:17 PM
RE: 48/50 Linear System Solver - Han - 01-15-2015, 05:35 PM
RE: 48/50 Linear System Solver - Werner - 01-16-2015, 09:52 AM
RE: 48/50 Linear System Solver - Han - 01-16-2015, 01:44 PM
RE: 48/50 Linear System Solver - Gilles - 01-14-2015, 07:59 PM
RE: 48/50 Linear System Solver - Werner - 01-16-2015, 02:15 PM
RE: 48/50 Linear System Solver - Han - 01-16-2015, 04:18 PM



User(s) browsing this thread: 3 Guest(s)