Make power::expand() (x*p)^c -> x^c * p^c, if p>0.
authorVladimir Kisil <kisilv@maths.leeds.ac.uk>
Tue, 14 Apr 2015 21:14:09 +0000 (23:14 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Tue, 14 Apr 2015 21:14:09 +0000 (23:14 +0200)
commitc814fb2991fc9d44c7466da5bbf20e58c0f4238f
tree18f91d9e304a0f866345f079eb327b12dbb04274
parent5745deb8dbcee040d1012b8260ed317eb2a32f4b
Make power::expand() (x*p)^c -> x^c * p^c, if p>0.

This expansion seems to be helpful in many cases.
check/exam_powerlaws.cpp
ginac/power.cpp