How to use print() command and make the shape of a numpy array consistent, during integration using scipy?

后端 未结 0 1841
一整个雨季
一整个雨季 2021-01-12 12:57

I tried examining how spicy.integrate.ode works. The code below is simple code to do this.

def func(t, z, p):
    x = z[0]
    y = z[1]
    print(\'x :\', x)
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题