[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-405-ge5c76f6

Alexei Sheplyakov git at ginac.de
Sun Nov 3 22:02:53 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GiNaC -- a C++ library for symbolic computations".

The branch, master has been updated
       via  e5c76f659e2e882da3d5dba60502d6851f782bf3 (commit)
       via  5a3641098c88d3c6ea0765df65b801312ecfb91b (commit)
      from  5bf87cea66bb2071222c2910ed68c2649a98906c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e5c76f659e2e882da3d5dba60502d6851f782bf3
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date:   Sun Nov 3 22:21:00 2013 +0200

    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 at maths.leeds.ac.uk>

commit 5a3641098c88d3c6ea0765df65b801312ecfb91b
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date:   Sat Nov 2 21:06:53 2013 +0200

    Introduce expand_options::expand_transcendental.
    
    In general expand() treats the argument as a rational expression (and
    leave transcendental functions as they are). However sometimes it's
    convenient to expand transcendental functions too, like
    
    log(a*b) = log(a) + log(b)
    exp(a + b) = exp(a)*exp(b)
    
    Applying such transformation by default doesn't seem to be a smart idea
    (think of log(p^2/mu^2) transformed to 2*log(p) - 2*log(mu)). Therefore
    introduce expand_options::expand_transcendental. As the name implies expand()
    tries to transform transcendental functions only if this flag is set.
    
    Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>

-----------------------------------------------------------------------

Summary of changes:
 check/exam_inifcns.cpp  |   65 ++++++++++++++++++++++++++++++++++++++++++
 doc/tutorial/ginac.texi |   53 ++++++++++++++++++++++++++++++++++
 ginac/flags.h           |    3 +-
 ginac/inifcns.cpp       |   22 ++++++++++++++
 ginac/inifcns_trans.cpp |   72 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 214 insertions(+), 1 deletions(-)


hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations


More information about the GiNaC-devel mailing list