package incremental
Library for incremental computations
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=bcd6da0c70d9f0b0d528b16d8faf800dd92cd45dca817f4b750628921671e8e0
doc/incremental.incremental_step_function/Incremental_step_function/index.html
Module Incremental_step_function
Source
An 'a Step_function.t
is a function from Time_ns.t
to 'a
.
include Core.Invariant.S1 with type 'a t := 'a t
create_exn ~init ~steps:[(t_1, v_1); ...; (t_n, vn)]
is the step function t
with value t ~at = init
for at < t_1
, value t ~at = vi
for t_i <= at < t_i+1
. create_exn
raises if the times aren't in nondecreasing order, i.e. if for some i < j
, ti > tj
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>