Expansion rules for exp(), log(), and abs().
authorVladimir V. Kisil <kisilv@maths.leeds.ac.uk>
Sun, 3 Nov 2013 20:21:00 +0000 (22:21 +0200)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Sun, 3 Nov 2013 20:33:45 +0000 (22:33 +0200)
commite5c76f659e2e882da3d5dba60502d6851f782bf3
treeed927f79d593fe9bdfc5eea55bd94c1286baf548
parent5a3641098c88d3c6ea0765df65b801312ecfb91b
Expansion rules for exp(), log(), and abs().

exp(a + b) -> exp(a)*exp(b)
log(a*b) -> log(a) + log(b)
abs(z*w) -> abs(z)*abs(w)

log and exp are transformed only if expand_options::expand_transcendental
is given.

Signed-off-by: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk>
check/exam_inifcns.cpp
doc/tutorial/ginac.texi
ginac/inifcns.cpp
ginac/inifcns_trans.cpp