Re: FactorTerms
- To: mathgroup at smc.vnet.net
- Subject: [mg46074] Re: FactorTerms
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 5 Feb 2004 04:02:53 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <bvpobu$2ap$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, FactorTerms[PA] /. a_Integer*b_?(PolynomialQ[#, z] &) :> {a, b} Regards Jens Carlos Felippa wrote: > > Suppose I have the polynomial > > PA=16*a0 + 16*a1*z + 16*a2*z^2 + 16*a3*z^3 + 16*a4*z^4; > > FactorTerms[PA] > > produces > > 16*(a0 + a1*z + a2*z^2 + a3*z^3 + a4*z^4) > > How do I extract the 16 and the (...)?