General Functions

This module provides numerical solvers for various differential equations, including:

  • ordinary differential equations (ODEs)

  • stochastic differential equations (SDEs)

Details please see the following.

odeint([f, method])

Numerical integration for ODEs.

sdeint([f, g, method])

Numerical integration for SDEs.

set_default_odeint(method)

Set the default ODE numerical integrator method for differential equations.

get_default_odeint()

Get the default ODE numerical integrator method.

set_default_sdeint(method)

Set the default SDE numerical integrator method for differential equations.

get_default_sdeint()

Get the default SDE numerical integrator method.

ODEIntegrator(f[, var_type, dt, name, show_code])

ODE Integrator.

SDEIntegrator(f, g[, dt, name, show_code, ...])

SDE Integrator.

class brainpy.integrators.ODEIntegrator(f, var_type=None, dt=None, name=None, show_code=False)[source]

ODE Integrator.

class brainpy.integrators.SDEIntegrator(f, g, dt=None, name=None, show_code=False, var_type=None, intg_type=None, wiener_type=None)[source]

SDE Integrator.