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 is a website building & hosting documentation for Clojure/Script libraries

× close