[GiNaC-devel] Expand method in functions

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Wed Jul 31 16:32:55 CEST 2013


	Dear All,

	So far we had pow(2,a+b).expand() -> pow(2,a)*pow(2,b), but
  exp(a+b).expand() -> exp(a+b). It will be also nice to have
  abs(a*b).expand() -> abs(a)*abs(b) and 
  log(a*b).expand() -> log(a) + log(b) (for positive a and b, of course). 
  Thus, I am proposing a patch for this.

  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: 0006-Add-specific-tailored-expand-to-GiNaC-functions.patch
Type: text/x-diff
Size: 12730 bytes
Desc: Git  patch
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20130731/07736f5a/attachment.bin>


More information about the GiNaC-devel mailing list