linear objectΒΆ

(Shortest import: from brian2 import linear)

brian2.stateupdaters.exact.linear = LinearStateUpdater()ΒΆ

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).