[GiNaC-devel] Revised patch: Power transformation for real base and positive exponent

Richard B. Kreckel kreckel at in.terlu.de
Sun Mar 22 12:53:18 CET 2015


Dear Vladimir,

On 02/28/2015 09:59 PM, Vladimir V. Kisil wrote:
> 	I am attaching the revised patch to power::expand(), which make
>   the transformation:
> 
>   (x*p)^c --> x^c * p^c, if p>0 and c is real
> 
>   This seems to be helpful in many cases. A corresponding check is added
>   as well. 

One question about your patch for expand(): Is the fact that c is real
really essential for this transformation?

Best wishes
   -richy.
-- 
Richard B. Kreckel
<http://in.terlu.de/~kreckel/>


More information about the GiNaC-devel mailing list