How to store variables in a matrix in python

前端 未结 0 1199
逝去的感伤
逝去的感伤 2021-02-15 04:27

The quick question: how can I store variables or math expressions inside a matrix? for exemple:

for a 1D array: T[1,2] = (T[0,1] + T[2,3])/2 T[2,3] = (T[1,2] + T[3,4])/2

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