This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Strange error linear system
- From: "lauradiara\ at libero\ dot it" <lauradiara at libero dot it>
- To: "gsl-discuss" <gsl-discuss at sources dot redhat dot com>
- To: "help-gsl help-gsl" <help-gsl at gnu dot org>
- Date: Tue, 2 Dec 2003 14:05:26 +0100
- Subject: Strange error linear system
Hi all,
I have seen a strange error and I don't know the reason.
I have this matrix:
1x+2y=1
1x+2y=2
This linear system has no solutions (of couse): in my program (general purpose)
I use gsl_linalg_QR_lssolve to solve this system (because its det = 0) and I
obtain a solution!!!!
x0 = -8678521507207439.000000000000000000
y = +4339260753603721.000000000000000000
The same result is obtained with gsl_linalg_SV_solve.
I don't understand.
Can someone tell me my error and give me an explanation?
Thanks very much
--laura