From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12673 invoked by alias); 18 Sep 2007 19:06:59 -0000 Received: (qmail 12665 invoked by uid 22791); 18 Sep 2007 19:06:58 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Sep 2007 19:06:50 +0000 Date: Tue, 18 Sep 2007 19:06:00 -0000 Message-ID: From: Brian Gough To: gsl-discuss@sourceware.org Subject: Re: multifit residuals In-Reply-To: <20070918162706.GA6352@hippogriff.physics.drexel.edu> References: <20070918162706.GA6352@hippogriff.physics.drexel.edu> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: fd2cd76ae586990a2451e59c46947618 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00038.txt.bz2 At Tue, 18 Sep 2007 10:27:06 -0600, Patrick Alken wrote: > The function gsl_multifit_linear_svd computes the fit residuals > in order to compute chi^2, but I was thinking it might be useful > to have a separate function to compute the residuals vector since > its often useful for the user to look at all the residuals as a measure > of quality of fit. So basically just reproduce lines 158-166 of > multilinear.c in a new function and store the residuals in a user > supplied vector. Anyone disagree? Ok, sounds reasonable. -- Brian Gough