[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exit codes for fzero
From: |
Rik |
Subject: |
Re: Exit codes for fzero |
Date: |
Wed, 10 Feb 2010 15:42:41 -0800 |
John W. Eaton wrote:
> On 10-Feb-2010, Rik wrote:
>
> | I am looking at the function 1/(x - pi) for the range [0, 5]. The zero,
> | such as it is, is at pi. On either side of this the function is basically
> | -/+ infinity.
>
> Isn't the function 1/(x-pi) is undefined a x = pi, not 0?
>
> I agree that it would be good if fzero returned a status that
> indicated that it is not converging in this case, but it would also be
> wrong for it to return X == pi as a solution.
Sure. This function doesn't really have a zero so I'm okay with it
returning any value for X as long as it indicates that the value isn't
legitimate.
--Rik
- Re: Exit codes for fzero, (continued)
- Re: Exit codes for fzero, Jaroslav Hajek, 2010/02/10
- Re: Exit codes for fzero, Rik, 2010/02/10
- Re: Exit codes for fzero, Jaroslav Hajek, 2010/02/11
- Re: Exit codes for fzero, Rik, 2010/02/15
- Re: Exit codes for fzero, Jaroslav Hajek, 2010/02/16
- Re: Exit codes for fzero, Rik, 2010/02/16
- Re: Exit codes for fzero, Jaroslav Hajek, 2010/02/17
- Re: Exit codes for fzero, Rik, 2010/02/18
- Re: Exit codes for fzero, Jaroslav Hajek, 2010/02/19
Exit codes for fzero, John W. Eaton, 2010/02/10
- Re: Exit codes for fzero,
Rik <=