Problems when substituting a matrix in a polynomial

后端 未结 0 1781
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 01:52

Example: let

M = Matrix([[1,2],[3,4]]) # and 
p = Poly(x**3 + x + 1)    # then
p.subs(x,M).expand()

gives the error :

TypeError: c

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