[GiNaC-devel] Even powers of modulus are rationalized

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Tue Nov 5 12:02:01 CET 2013


	Dear All,

	I believe that |z|^2= z*conjugate(z) is valid for any z. Also,
  the automatic substitution 

  abs(z)^(2n) -> z^n * conjugate(z)^n 

  shall make an expression more rational and, thus, more accessible to
  GiNaC. Therefore, I propose the attached alteration of abs_power().

  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: 0004-Even-powers-of-modulus-are-rationalized.patch
Type: text/x-diff
Size: 1192 bytes
Desc: patch file
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20131105/ab510105/attachment.bin>


More information about the GiNaC-devel mailing list