Documentation
¶
Overview ¶
Package ode provides algorithms for integrating systems of ordinary differential equations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integrator ¶
type Integrator interface { // Compute integrates the system of differential equations dy/dx = f(x, y). // // The input function dydx(x, y, f) evaluates f(x, y) for a given x and y in // its first and second arguments and stores the result in its third // argument. The interval of integration is [x0, xend] where x0 and xend are // the first and last entries of xs, respectively. The initial condition is // y0, which correspond to x0. Compute(dydx func(float64, []float64, []float64), y0 []float64, xs []float64) ([]float64, []float64, error) }
Directories
¶
Path | Synopsis |
---|---|
Package dopri provides an integrator of systems of ordinary differential equations based on the Dormand–Prince method.
|
Package dopri provides an integrator of systems of ordinary differential equations based on the Dormand–Prince method. |
Package rk4 provides an integrator of system of ordinary differential equations based on the fourth-order Runge–Kutta method.
|
Package rk4 provides an integrator of system of ordinary differential equations based on the fourth-order Runge–Kutta method. |
Click to show internal directories.
Click to hide internal directories.