Method summary
- __init__(self, f, jac = None)
- integrate(self, t, step = 0, relax = 0)
- set_f_params(self, *args)
- set_initial_value(self, y, t = 0.0)
- set_integrator(self, name, **integrator_params)
- set_jac_params(self, *args)
- successful(self)
Methods
- __init__(self, f, jac = None)
Define equation y' = f(y,t) where (optional) jac = df/dy. User-supplied functions must have the following signatures: def f(t,y,...): return <f(t,y)> def jac(t,y,...): return <jac(t,y)> where ... means extra parameters that can be set with set_(f|jac)_params(*args) methods. - integrate(self, t, step = 0, relax = 0)
Find y=y(t), set y as an initial condition, and return y.
- set_f_params(self, *args)
Set extra-parameters for user-supplied function f.
- set_initial_value(self, y, t = 0.0)
Set initial conditions y(t) = y.
- set_integrator(self, name, **integrator_params)
Set integrator by name.
- set_jac_params(self, *args)
Set extra-parameters for user-supplied function jac.
- successful(self)
Check if integration was successful.
