Pass in a float to np.linspace

前端 未结 0 967
[愿得一人]
[愿得一人] 2021-01-26 05:44

I have the following code:

dt     = .001   # simulation time step (seconds)
T      = 1.0    # total time to simulate (seconds)
time   = np.linspace(dt,T,dt/T)


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