jeudi 16 juin 2016

Droping lower order terms of a polynomial with Sympy


Say we have this function,

f = poly(2*x**2 + 3*x - 1,x)

How would one go about dropping terms of degree n or lower.

For instance if n = 1 the result would be 2*x**2.


Aucun commentaire:

Enregistrer un commentaire