[GiNaC-devel] Simplifying powers

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Sun Jul 28 16:10:16 CEST 2013


	Dear All,

	I propose a patch to power::expand(). It does not affect
  power::eval() and automatic rewriting rules. The patch expand
  expressions like (a*b*p)^c to (a*b)^c*p^c if p is positive and c is
  real. A simple check is added as well.

  Best wishes,
  Vladimir
-- 
Vladimir V. Kisil     email: kisilv at maths.leeds.ac.uk
                        www: http://www.maths.leeds.ac.uk/~kisilv/
Book: Geometry of Mobius Transformations
http://www.worldscientific.com/worldscibooks/10.1142/p835

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-an-expansion-law-in-power-expand-x-p-c-x-c-p-c-f.patch
Type: text/x-diff
Size: 3582 bytes
Desc: Git patch
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20130728/cbbdf7b7/attachment.bin>


More information about the GiNaC-devel mailing list