Hi,

On Thu, Jul 30, 2009 at 11:23:53AM -0400, william ratcliff wrote:
> The problem is that the current problem with Poly breaks thinks which depend
> on it.  For us, it breaks calculation of eigenvalues...Is it possible to
> exclude symbols which are not in the polynomial variable?  Right now, it
> seems to decompose all symbols....
> 
> Thanks,
> William
> 

you can always specify variables, e.g.:

In [3]: f = Poly(x*y*z, y, z)

In [4]: f.coeffs
Out[4]: (x,)

In [5]: f.monoms
Out[5]: ((1, 1),)

So, 'x' is treated as a constant. The same is possible with polynomial
functions, like gcd(), factor() etc.

-- 
Mateusz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to