euler_step {tfNeuralODE}R Documentation

A function to employ the Euler Method to solve an ODE.

Description

A function to employ the Euler Method to solve an ODE.

Usage

euler_step(func, dt, state)

Arguments

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.

Value

A list that describes the updated state of the ODE.


[Package tfNeuralODE version 0.1.0 Index]