ode

package module
v0.0.0-...-ba20626 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 0 Imported by: 1

README

Ordinary Differential Equations Build Status

The package provides algorithms for integrating systems of ordinary differential equations.

Documentation

Subpackages

The package contains two subpackages:

Contributing

  1. Fork the project.
  2. Implement your idea.
  3. Create a pull request.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL