euler_step | R Documentation |
A function to employ the Euler Method to solve an ODE.
euler_step(func, dt, state)
func |
The derivative function. |
dt |
The time step for the Euler solver. |
state |
A list that defines the current state of the ODE, with one entry being a number, and the other being a tensor which describes the function state. |
A list that describes the updated state of the ODE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.