|
Re: puzzled with result from gsl_multifit_linear...: msg#00045lib.gsl.general
> OK, I managed to implement this using the gsl_linalg_SV_decomp and > gsl_linalg_SV_solve functions as following. In case it's useful to > anyone else. It nicely picks up the case of points being colinear as well. Looks good. On second thought it may not be appropriate to modify gsl_multifit_linear for this problem. There does happen to be a unique solution for your problem, however in general if you try to solve X c = y, where X is singular then there could be infinitely many solutions even if y = 0, so it may not be worth it to add in a special case like this. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: puzzled with result from gsl_multifit_linear...: 00045, John Pye |
|---|---|
| Next by Date: | help compiling and generating using the GNU GSL urgent!: 00045, Hsiang Wei Lee |
| Previous by Thread: | Re: puzzled with result from gsl_multifit_linear...i: 00045, John Pye |
| Next by Thread: | Re: puzzled with result from gsl_multifit_linear...: 00045, John Pye |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |