Open hgrecco opened 4 years ago
There are two right-hand side functions
user_rhs
Solver
step_rhs
step
There are (at least) 3 different signatures:
def simple(t: float, y: ndarray_1d) -> ndarray_1d: pass def with_args(t: float, y: ndarray_1d, *args) -> ndarray_1d: pass def with_p(t: float, y: ndarray_1d, p: ndarray) -> ndarray_1d: pass
simple
with_p
with_args
There are two right-hand side functions
user_rhs
: provided by the user to theSolver
step_rhs
: provided by theSolver
tostep
There are (at least) 3 different signatures:
step
(in the future)simple
with_p
(if p is always the same, i.e. a 1d vector)with_args
with_p