Extracting monomials from a polynomial
muttreja at princeton.edu
Sun Apr 11 13:00:16 CEST 2004
Apparently not always ... I have seen expand leave me with a factored
At least that was occasionally the case with 1.0.8. I switched to
1.2.0 and the problem seems to have disappeared...
Might have been a bug in my program ... thanks for the reply... I was
just a little unsure about the semantics. Anyway it works now !
Anish Muttreja ~ Graduate Student
Electrical Engineering ~ Princeton University
As an adolescent I aspired to lasting fame, I craved factual certainty,
and I thirsted for a meaningful vision of human life - so I became a
scientist. This is like becoming an archbishop so you can meet girls.
-Matt Cartmill, anthropology professor and author (1943- )
On Apr 11, 2004, at 6:45 AM, Christian Bauer wrote:
> On Sun, Apr 04, 2004 at 10:32:18PM -0400, Anish Muttreja wrote:
>> I need to extract each monomial from the polynomial.
>> Until now , I have been getting by only dealing with the case where
>> top level class is "add",
> Is there much more to it? After calling expand(), the polynomial is
> a monomial or a sum of monomials.
> / Physics is an algorithm
> \/ http://www.uni-mainz.de/~bauec002/
More information about the GiNaC-list