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

Richard B. Kreckel git at ginac.de
Sun Jul 19 00:17:05 CEST 2015


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  d56a0f74afa5380a1730599c3b1b21f34be2f061 (commit)
       via  aa1ddc484c2a22a1ab2b38047cbd221f9b37750a (commit)
      from  3e3c363cab88f5234ee6aaa80ee55463069b30a3 (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 d56a0f74afa5380a1730599c3b1b21f34be2f061
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Sun Jul 19 00:04:49 2015 +0200

    Speed up pow(+(...),n).expand() where n>2.
    
    This new algorithm is faster than the old one because it re-uses
    multinomial coefficients as much as possible.

commit aa1ddc484c2a22a1ab2b38047cbd221f9b37750a
Author: Richard Kreckel <kreckel at ginac.de>
Date:   Sat Jul 18 23:56:55 2015 +0200

    Fix pow(+(...),2).expand().
    
    Due to a failure to expand result terms, expand((sqrt(1+x)+y*sqrt(1+x))^2)
    returned 1+y^2+x+x*y^2+2*y*(1+x). Note that 2*y*(1+x) was not expanded
    to 2*y+2*y*x.

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

Summary of changes:
 check/exam_paranoia.cpp |  13 ++
 check/timer.cpp         |   1 -
 ginac/add.cpp           |   4 +-
 ginac/power.cpp         | 384 ++++++++++++++++++++++++++++++++++++++----------
 4 files changed, 320 insertions(+), 82 deletions(-)


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


More information about the GiNaC-devel mailing list