-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If we want to have
For instance,
# x[0] = time, x[1] = X, dX = (cos(t)+1.1) * dWt
pychastic.sde_problem.SDEProblem(
lambda x: jnp.array([1., 0.]),
lambda x: jnp.array([[0, 0], [0, (jnp.cos(x[0]) + 1.1)]]),
x0=[0, 1],
tmax=10,
)It works as expected but would it be better to have for drift and noise, a signature like lambda t,x: ... ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels