Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 3
    $\begingroup$ ...i.e. NonNegative[Min[list]]. $\endgroup$ Commented Mar 27, 2019 at 16:08
  • 3
    $\begingroup$ Very good solution! This avoids lists of Booleans and hence allows for vectorization. (Boolean arrays cannot be packed.) $\endgroup$ Commented Mar 27, 2019 at 18:01
  • 2
    $\begingroup$ This is about 100 times faster than any of the other solutions. Impressive! $\endgroup$ Commented Mar 27, 2019 at 20:03
  • $\begingroup$ Thank you very much. $\endgroup$ Commented Mar 28, 2019 at 8:40