Hi,

Does the Factorization class not have a
routine to return just a list of the factors?
Basically, something like the value function
but instead of multiplying them, puts
each term into a list?

I ask because the output of a squarefree_decomposition
is a factorization and I'd like to use those factors
in a partial fraction expansion.

I suppose I could do,
l = []
j = 0
while (j <= len(c)):
        l.append((c[j][0])**(c[j][1]))
        j = j + 1

if c is the factorization object, but I would think that
something like that would be part of the class.

Cheers,

Tim.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://www.linkedin.com/in/timlahey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to