help-octave
[Top][All Lists]
Advanced

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

Re: quadl crashes on evaluation


From: rmcd
Subject: Re: quadl crashes on evaluation
Date: Sat, 20 Sep 2008 12:09:23 -0700 (PDT)


Ben Abbott wrote:
> 
> 
> What happens when  you include the "eps" and the tolerance
> 
>> function y = f (x)
>> y = x .* sin (1 ./ (x+eps)) .* sqrt (abs (1 - x));
>> endfunction
> 
>       quadl ("f", 0, 3, 0.0001)
> 
> If still present, what of
> 
>       quadl (@f, 0, 3, 0.0001)
> 

Ah hah! The error is not present in either case. Both evaluate to 1.9818 the
first time I run quadl after starting Octave.
-- 
View this message in context: 
http://www.nabble.com/quadl-crashes-on-evaluation-tp19582409p19588277.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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