]> www.ginac.de Git - ginac.git/commit
introduce gcd_pf_pow: gcd helper to handle partially factored expressions.
authorAlexei Sheplyakov <varg@theor.jinr.ru>
Mon, 25 Aug 2008 12:53:07 +0000 (16:53 +0400)
committerJens Vollinga <jensv@nikhef.nl>
Wed, 27 Aug 2008 14:22:59 +0000 (16:22 +0200)
commitb65fcd7481a401ec23c284c91f6f4e883e967676
treeb8f8d0afacf4587140b3a588e0502db6f7a8a803
parent8474043d373a19e04008f476fa9b77e45734b604
introduce gcd_pf_pow: 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 2:

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