Common math utilities
Common math utilities
(bound-probability n)Bound n to between 0.0 and 1.0 to create a valid probability.
Bound `n` to between `0.0` and `1.0` to create a valid probability.
(min-max min-n n max-n)given a minimum, maximum and a number, bound it.
given a minimum, maximum and a number, bound it.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |