96d693619f48a2f0ee2a5781e387d900976a01cd,brian2/stateupdaters/exact.py,LinearStateUpdater,__call__,#LinearStateUpdater#Any#Any#,238
Before Change
t = Symbol("t", real=True, positive=True)
symbols = set.union(*(el.atoms() for el in matrix))
non_constant = _non_constant_symbols(symbols, variables, t)
if len(non_constant):
raise ValueError(("The coefficient matrix for the equations "
"contains the symbols %s, which are not "
"constant.") % str(non_constant))
// Check for time dependence
if "dt" in variables:
dt_value = variables["dt"].get_value()[0]
// This will raise an error if we meet the symbol "t" anywhere
// except as an argument of a locally constant function
After Change
// This will raise an error if we meet the symbol "t" anywhere
// except as an argument of a locally constant function
t = Symbol("t", real=True, positive=True)
for entry in itertools.chain(matrix, constants):
_check_for_locally_constant(entry, variables, dt_value, t)
symbols = [Symbol(variable, real=True) for variable in varnames]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: brian-team/brian2
Commit Name: 96d693619f48a2f0ee2a5781e387d900976a01cd
Time: 2015-09-29
Author: marcel.stimberg@inserm.fr
File Name: brian2/stateupdaters/exact.py
Class Name: LinearStateUpdater
Method Name: __call__
Project Name: mathics/Mathics
Commit Name: 6441aa3d9929de1fdce6384d997d17900f03ec2f
Time: 2016-08-16
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/image.py
Class Name: ImageCreate
Method Name: apply
Project Name: pysb/pysb
Commit Name: 8ebf62c7cfcbe0e6dd88cdabaa35ee68e13ed0d1
Time: 2019-02-15
Author: fabian@schaluck.com
File Name: pysb/export/sbml.py
Class Name: SbmlExporter
Method Name: convert