

def f(self, z, t):
    tmp = zeros((2, 2), float)
    tmp[(0, 1)] = 1.0
    tmp[(1, 0)] = ((- tmp.k) / self.m)
    return dot(tmp, z)

dataset/ETHPy150Open scipy/scipy/scipy/integrate/tests/test_integrate.py SimpleOscillator.f/VarMisuse@50/51 `self`->`tmp`