Liking cljdoc? Tell your friends :D

com.yetanalytics.datasim.util.maths

Common math utilities

Common math utilities
raw docstring

bound-probabilityclj

(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.
sourceraw docstring

min-maxclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close