Multivariate Taylor approximation in sympy

后端 未结 3 1319
借酒劲吻你
借酒劲吻你 2021-01-05 08:18

I aim to write a multidimensional Taylor approximation using sympy, which

  • uses as many builtin code as possible,
  • computes the truncated T
3条回答
  •  一生所求
    2021-01-05 09:05

    You can use expr.removeO() to remove the big O from an expression.


    Oneliner: expr.series(x, 0, 3).removeO().series(y, 0, 3).removeO()

提交回复
热议问题