octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] Test failures due to tolerance in fftfilt.m


From: Ed Meyer
Subject: Re: [OctDev] Test failures due to tolerance in fftfilt.m
Date: Wed, 10 Oct 2012 09:52:54 -0700



On Wed, Oct 10, 2012 at 1:11 AM, c. <address@hidden> wrote:

On 10 Oct 2012, at 09:16, Daniel J Sebald wrote:

>> I propose fixing this test by replacing the tolerance eps with something
>> like 2*eps*norm(z)

FYI this could be expressed as

2 * eps (z)

from the help text for eps () :

"Given a single argument X, return the distance between X and the next largest value"

c.

Thanks, Carlos, I wasn't aware of this capability.  I thought it was just what I needed until I
tried it on a vector, expecting something like eps(z) = eps*norm(z) but what I get is eps(z(1)).
Is that the intended behavior?

--
Ed Meyer


reply via email to

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