introduce gcd_pf_mul: gcd helper to handle partially factored expressions.
authorAlexei Sheplyakov <varg@theor.jinr.ru>
Mon, 25 Aug 2008 12:53:47 +0000 (16:53 +0400)
committerJens Vollinga <jensv@nikhef.nl>
Wed, 27 Aug 2008 14:22:59 +0000 (16:22 +0200)
commit7d7131d3af3de5425b7fe80b1f587740294371bc
treea09768ef98caca4281409ebc3442071fce21801c
parentb65fcd7481a401ec23c284c91f6f4e883e967676
introduce gcd_pf_mul: gcd helper to handle partially factored expressions.

GiNaC tries to avoid expanding expressions while computing GCDs and applies
a number of heuristics. Usually this improves performance, but in some cases
it doesn't. Allow user to switch off heuristics.

Part 3:

Move the code handling products from gcd() into a separate function. This
is *really* only code move, everything else should be considered a bug.
ginac/normal.cpp