LinearStateUpdater class

(Shortest import: from brian2.stateupdaters.exact import LinearStateUpdater)

class brian2.stateupdaters.exact.LinearStateUpdater[source]

Bases: brian2.stateupdaters.base.StateUpdateMethod

A state updater for linear equations. Derives a state updater step from the analytical solution given by sympy. Uses the matrix exponential (which is only implemented for diagonalizable matrices in sympy).

Methods

__call__(equations[, variables])
can_integrate(equations, variables)

Details

__call__(equations, variables=None)[source]
can_integrate(equations, variables)[source]