Open-Systems-Pharmacology / OSPSuite.RUtils

Utility functions for Open Systems Pharmacology R packages
https://www.open-systems-pharmacology.org/OSPSuite.RUtils/dev/
GNU General Public License v2.0
1 stars 3 forks source link

`foldSafe()` for negative values #131

Open PavelBal opened 1 year ago

PavelBal commented 1 year ago
          Theoretically, we could add an optional boolean argument telling if the compared values are supposed to be negative.

If so, we would replace all values which are >-epsilon with -epsilon. But I am not aware of any practical use case for this :)

_Originally posted by @Yuri05 in https://github.com/Open-Systems-Pharmacology/OSPSuite.RUtils/pull/130#discussion_r1263580961_

PavelBal commented 1 year ago

Not prio, only if we have a use-case.