help-octave
[Top][All Lists]
Advanced

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

Re: Zero or not?


From: Miroslaw Kwasniak
Subject: Re: Zero or not?
Date: Mon, 23 Jul 2007 07:42:07 +0200
User-agent: Mutt/1.5.9i

On Mon, Jul 23, 2007 at 01:24:03AM +0200, Francesco Potorti` wrote:
> >Ok, that's a start. If I calculate the sum of N numbers, what is the  
> >maximum 'offset' of the numerical result to mathematically correct  
> >result?
> 
> Not a numerical expert, but the error magnitude should be bounded by
> eps*sum(abs(x[1:N])).

I'm not a numerical expert ;)

I think your expression is an average error.
A bound should be like this:

   N*eps*max(abs(x))



reply via email to

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