示例#1
0
 def dy_func(ts, ys):
     val = ode.imr_dydt(ts[:-int(math.floor(pt.time))],
                        ys[:-int(math.floor(pt.time))])
     print "imr f(t) =", val
     return val
示例#2
0
 def dy_func(ts, ys):
     val = ode.imr_dydt(ts, ys)
     print "imr f(t) =", val
     return val