🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #1320

Re: Root finding - Bug in Num Recipes

#1320
From: Vadim Tarassov
Date: Thu, 19 Nov 1998 00:00
25 lines
1474 bytes
Hi, Ken

Now try your best, force yourself to concentrate your attention on
following point.
Ok, one ... two ... three ...

Don't you think that routine was tested before published?

Ken Laberteaux wrote:

> I am reading the 2nd Edition of _Numerical Recipes in C_.  I am
> specifically looking at laguer.c.
>
> On p. 373 the line of code which implements Eq 9.5.7 (p. 372) is
>
>                h=Csub(g2,RCmul(2.0,Cdiv(f,b)));
>
> However Eq 9.5.7 (p. 372) makes no reference of the 2, indicating that
> the correct version should be
>
>                h=Csub(g2,Cdiv(f,b));
>
> Can anyone shed some light into this inconsistency?
>
> Ken Laberteaux
Technical Details
Message-ID: <3653DFB0.876D5A72@pci.unizh.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3653374B.950EFD0F@trc.tellabs.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,9646b0a747ad2fab
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 107079,9646b0a747ad2fab
X-Google-Attributes: gid107079,public
X-Google-Thread: 1014db,9646b0a747ad2fab
X-Google-Attributes: gid1014db,public
From: Vadim Tarassov <vadim@pci.unizh.ch>
Subject: Re: Root finding - Bug in Num Recipes
Date: 1998/11/19
Message-ID: <3653DFB0.876D5A72@pci.unizh.ch>
X-Deja-AN: 413448627
X-NNTP-Posting-Host: 130.60.136.118
Content-Transfer-Encoding: 7bit
References: <3653374B.950EFD0F@trc.tellabs.com>
Content-Type: text/plain; charset=us-ascii
X-Trace: 19 Nov 1998 10:07:23 +0100, 130.60.136.118
Organization: University of Zurich
MIME-Version: 1.0
Newsgroups: sci.math.num-analysis,comp.lang.c,gnu.misc.discuss