Transform abs(x)^n => x^n if x is real and n is even.
authorVladimir V. Kisil <kisilv@maths.leeds.ac.uk>
Tue, 30 Jul 2013 15:40:38 +0000 (16:40 +0100)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Wed, 16 Oct 2013 05:20:29 +0000 (08:20 +0300)
commit10365850aa3803337bfea1fc201b81b6752096d4
treefb2a14949f465c326c3e8eef0c8ef8a7410f6170
parent31fef4a6bc14afa46a297b3b87f94204d6c726d5
Transform abs(x)^n => x^n if x is real and n is even.

While at it add some .hold() to returns which cannot be processed further.

Signed-off-by: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk>
ginac/inifcns.cpp