Better use of PolynomialReduce?
- To: mathgroup at smc.vnet.net
- Subject: [mg121058] Better use of PolynomialReduce?
- From: Irretrev Unable <irdeva_ble at yahoo.com>
- Date: Thu, 25 Aug 2011 07:06:25 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Reply-to: Irretrev Unable <irdeva_ble at yahoo.com>
I've been using
scPhiDecomp[expr_]:= PolynomialReduce[expr, {x^2-y^2,2 x y}, {x,y}]
which works great on
scPhiDecomp[a x^2 + 2c x y -a y^2]
>> {{a,c},0}
but doesn't do what I want on
scPhiDecomp[y (a x^2 + 2c x y -a y^2)]
>> {{0,(a x)/2+c y},-a y^3}
How do I make scPhiDecomp produce
{{a y, c y}, 0}
on the second expression?
Thanks,
Keith
- Follow-Ups:
- Re: Better use of PolynomialReduce?
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Better use of PolynomialReduce?
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Better use of PolynomialReduce?