From: Ed M. <ee...@gm...> - 2012-10-10 16:53:06
|
On Wed, Oct 10, 2012 at 1:11 AM, c. <car...@gm...> 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 |