This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd:Strange error linear system


Hi,

can someone, more expert than me, tell me where is my problem?

I suspect than I'm not applying the rigth method.

Could you give me some advice?


Thanks


--Laura


************** my previuos email ***********


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]