(calc-frac-diff id-ref frac-map rel dist)
(calc-fracs calc-frac-strategy get-direction snapshot mouse-ev)
(calc-fracs-basic {:as snapshot :keys [id-ref ids-pred ids-succ rel frac-map]}
dist)
(calc-fracs-push-adjacent {:as snapshot
:keys [id-ref ids-pred ids-succ rel frac-map]}
dist)
(shift-by-n nn-minus n-plus n)
(subtract values amount)
Subtract amount
from the values
vector until amount
is zero or all
values
are zero. Return the updated values and the remaining amount.
Subtract `amount` from the `values` vector until `amount` is zero or all `values` are zero. Return the updated values and the remaining amount.
(upd-fracs pred succ f-diff frac-map)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close