1
Tony042 2020-09-17 02:53:16 +08:00
额,直接用矩阵手动写代码做基变换吧
|
2
Tony042 2020-09-17 02:53:25 +08:00
把 basis 掉一个个
|
3
noqwerty 2020-09-17 04:16:59 +08:00
import re
x = "5/16*u^4 - 1/2*u^3 + 3/4*u^2 - u + 1" " ".join(re.split(r'\s([-+])\s', x)[::-1]) |
4
mathzhaoliang 2020-09-17 07:58:58 +08:00
试试 taylor((u/2+1)^(-2),u,0,4).series(x, 4) ?
|