Timeline for Too small to represent and Chop in inaccessible algorithm
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 19, 2021 at 15:00 | history | tweeted | twitter.com/StackMma/status/1351544981400465409 | ||
Jan 19, 2021 at 13:05 | comment | added | Phteven | @MichaelE2 You are right. Upon further investigation, my code crashed at a later point and when displaying the dataset, wrote the munfl WARNING into the dataset, even though it had very little to do with the actual error. Sorry for the confusion, I am still struggling a bit with the Mathematica stacktrace. | |
Jan 16, 2021 at 14:40 | comment | added | Michael E2 |
I interpreted “chopping or return Indeterminate ” as doing something like 10.^-310 or 10.^-310/10.^-310 . I don’t see how to use Threshold to prevent getting 0. or Indeterminate in these two cases. (You will get the munfl message, but that’s just a warning that it’s chopping the result to zero. I wouldn’t call is a “crash.”)
|
|
Jan 16, 2021 at 11:50 | vote | accept | Phteven | ||
Jan 16, 2021 at 11:05 | comment | added | Phteven | @MichaelE2 How can it still crash with "too small to represent" instead of producing 0, then? | |
Jan 16, 2021 at 11:04 | comment | added | Phteven | @MarcoB Sorry, in Mathematica it's called a Dataset. See Edit. Thanks for the comment | |
Jan 16, 2021 at 11:02 | history | edited | Phteven | CC BY-SA 4.0 |
Supply example
|
Jan 15, 2021 at 23:08 | comment | added | Michael E2 |
munfl means the number was replaced by zero, so neither Threshold nor Chop should be of any use internally at such steps.
|
|
Jan 15, 2021 at 18:12 | answer | added | Carl Woll | timeline score: 4 | |
Jan 15, 2021 at 16:38 | history | edited | J. M.'s missing motivation♦ |
edited tags
|
|
Jan 15, 2021 at 14:13 | comment | added | MarcoB | What’s a dataframe? Can you add the complete executable code for your operation, perhaps on a small toy example that reproduces the behavior? | |
Jan 15, 2021 at 10:30 | review | First posts | |||
Jan 15, 2021 at 11:02 | |||||
Jan 15, 2021 at 10:29 | history | asked | Phteven | CC BY-SA 4.0 |