[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] puzzled with result from gsl_multifit_linear...

From: Patrick Alken
Subject: Re: [Help-gsl] puzzled with result from gsl_multifit_linear...
Date: Mon, 19 Nov 2007 23:59:26 -0700
User-agent: Mutt/

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]