|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #47865] cplxpair(array, tol) uses wrong units for tol |
Date: | Fri, 06 May 2016 12:33:23 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?47865> Summary: cplxpair(array,tol) uses wrong units for tol Project: GNU Octave Submitted by: None Submitted on: Fri 06 May 2016 12:33:22 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Gene Petilli Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: The documentation for cplxpair was updated to say that the default value for tol is 100*eps (which matches the matlab documentation) but the matlab documentation also says that 0<= tol <1. The 100*eps is the value of tol, not the multiplier of eps to compute tol. The cplxpair code line 117 uses tol*eps but perhaps it should use eps/(1-tol)? As an example, for matlab we use tol=0.0001 and octave errors unless we us 10000 development version from 5/6/16 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47865> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |