Timeline for Replace very small numbers by zero in the output of a list
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 1, 2014 at 22:51 | comment | added | Oleksandr R. |
@YvesKlett probable explanation is that Chop replaces the values with exact zero, which involves unpacking the list if packed to start with. Threshold uses a machine zero and doesn't need to unpack. Since arbitrary precision values can't be stored in packed arrays anyway, Chop and Threshold are going to be similar in this case.
|
|
Mar 19, 2013 at 21:35 | vote | accept | psmith | ||
Mar 19, 2013 at 21:35 | |||||
Mar 19, 2013 at 19:53 | history | edited | m_goldberg | CC BY-SA 3.0 |
added 4 characters in body
|
Mar 19, 2013 at 18:19 | comment | added | kglr | @Yves, good observation (confirmed on Version 9 Windows Vista 64bit). Don't have any idea why, though. | |
Mar 19, 2013 at 17:45 | comment | added | Yves Klett |
My machine puts Chop slight in front of Threshold with altered precision (and using real 10.^-18 helps as well), while Threshold smokes Chop for standard precision - any explanations?
|
|
Mar 19, 2013 at 17:26 | history | answered | kglr | CC BY-SA 3.0 |