Liking cljdoc? Tell your friends :D

sicmutils.numerical.ode


evolveclj

(evolve state-derivative & state-derivative-args)

evolve takes a state derivative function constructor and its arguments, and returns an integrator via make-integrator. In particular, the returned function accepts a callback function which will be invoked at intermediate grid points of the integration.

evolve takes a state derivative function constructor and its
arguments, and returns an integrator via make-integrator. In
particular, the returned function accepts a callback function which
will be invoked at intermediate grid points of the integration.
sourceraw docstring

integrate-state-derivativeclj

(integrate-state-derivative state-derivative
                            state-derivative-args
                            initial-state
                            t1
                            dt)

A wrapper for evolve, which is more convenient when you just want a vector of (time, state) pairs over the integration interval instead of having to deal with a callback. Integrates the supplied state derivative (and its argument package) from [0 to t1] in steps of size dt

A wrapper for evolve, which is more convenient when you just
want a vector of (time, state) pairs over the integration interval
instead of having to deal with a callback. Integrates the supplied
state derivative (and its argument package) from [0 to t1] in steps
of size dt
sourceraw docstring

state-advancerclj

(state-advancer state-derivative & state-derivative-args)

state-advancer takes a state derivative function constructor followed by the arguments to construct it with. The state derivative function is constructed and an integrator is produced which takes the initial state, target time, and error tolerance as arguments. The final state is returned. The state derivative is expected to map a structure to a structure of the same shape, and is required to have the time parameter as the first element.

state-advancer takes a state derivative function constructor
followed by the arguments to construct it with. The state derivative
function is constructed and an integrator is produced which takes
the initial state, target time, and error tolerance as
arguments. The final state is returned. The state derivative is
expected to map a structure to a structure of the same shape,
and is required to have the time parameter as the first element.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close