[SCM] GiNaC -- a C++ library for symbolic computations branch, c++11, updated. release_1-4-0-496-g8f283de
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, c++11 has been updated via 8f283de519668b70b2e675a7055c7f1bf7ba197c (commit) via 019faaa693e82ccccadacb185ddd999437409ba2 (commit) via d5b86dd10dd9cba12175d07af0b6edfc9a215e36 (commit) via 792cda15eb0089edccdc0a89e7c39e58e940b87b (commit) via 9593ce33c14b7ff535d113f8a825f4c42ca81912 (commit) via b236efe23093bf2c4b5e7702b60d45505724d915 (commit) via cec09e9ce4e1d10387d3551d1da0bf497ef3e03f (commit) from dfaba64cff32f7dfdd96c1a96d1744ce6c1d80ad (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 8f283de519668b70b2e675a7055c7f1bf7ba197c Author: Richard Kreckel <kreckel@ginac.de> Date: Thu Nov 26 21:36:46 2015 +0100 Use initializer lists to construct container<>, lst. Add constructor of initializer_list<ex> to container<C<ex>>. In particular, this means that we can finally declare lst objects as lst{a,2*b,2}. Convert GiNaC to this syntax throughout. Deprecate the old constructors taking 1..16 ex parameters and the ones from comma seaparated lists (without braces). commit 019faaa693e82ccccadacb185ddd999437409ba2 Author: Richard Kreckel <kreckel@ginac.de> Date: Thu Nov 26 15:04:52 2015 +0100 Infrastructure: Update baseline language check M4 macros. Use the more general ax_cxx_compile_stdcxx.m4 macro from gnu.org instead of the old ax_cxx_compile_stdcxx_11.m4. commit d5b86dd10dd9cba12175d07af0b6edfc9a215e36 Author: Richard Kreckel <kreckel@ginac.de> Date: Thu Nov 26 12:20:20 2015 +0100 Make ample use of the contextual keyword 'override'. This patch adds the C++11 contextual keyword 'override' to every overridden virtual function declaration except where that would incur macro duplications. Along the way, it fixes some comments about member functions 'virtuality'. commit 792cda15eb0089edccdc0a89e7c39e58e940b87b Author: Richard Kreckel <kreckel@ginac.de> Date: Wed Nov 25 15:17:20 2015 +0100 Standard header cleanup. Sanitize some standard headers, remove include directives of unused headers, complete configure check for used standard headers. commit 9593ce33c14b7ff535d113f8a825f4c42ca81912 Author: Richard Kreckel <kreckel@ginac.de> Date: Wed Nov 25 12:49:31 2015 +0100 Replace idx_is_not functor by a C++11 lambda. commit b236efe23093bf2c4b5e7702b60d45505724d915 Author: Richard Kreckel <kreckel@ginac.de> Date: Wed Nov 25 11:28:10 2015 +0100 In power::expand_add(), don't reserve excess monomial sizes. There is no need to reserve n terms in each of the monomials of the result of power(+(x,y,z...;0),n): We can compute it exactly as the number of nonzero exponents in the multinomial expansion. The good thing is that this counting is the same for each composition of a partition, so it can be hoisted out of the loop over compositions. commit cec09e9ce4e1d10387d3551d1da0bf497ef3e03f Author: Richard Kreckel <kreckel@ginac.de> Date: Wed Nov 25 11:22:34 2015 +0100 Make specialized power::expand() helpers static member fuctions. The class power member functions expand_add(), expand_add_2(), and expand_mul() do not access any member variable of class power. (In fact, the only reason not to hide them entirely is that they invoke protected members of classs expairseq, add, and mul which requires them to be friends of these classes.) ----------------------------------------------------------------------- Summary of changes: acinclude.m4 | 26 +- check/exam_archive.cpp | 6 +- check/exam_clifford.cpp | 50 ++-- check/exam_color.cpp | 6 +- check/exam_differentiation.cpp | 8 +- check/exam_factor.cpp | 6 +- check/exam_indexed.cpp | 28 +- check/exam_inifcns_nstdsums.cpp | 156 +++++------ check/exam_matrices.cpp | 8 +- check/exam_misc.cpp | 8 +- check/exam_numeric.cpp | 2 +- check/exam_powerlaws.cpp | 12 +- check/time_antipode.cpp | 24 +- check/time_lw_M1.cpp | 2 +- check/time_lw_N.cpp | 12 +- check/time_toeplitz.cpp | 20 +- check/time_uvar_gcd.cpp | 2 +- configure.ac | 2 +- doc/examples/compile2.cpp | 4 +- doc/examples/mystring.cpp | 2 +- doc/tutorial/ginac.texi | 62 ++--- ginac/add.h | 56 ++-- ginac/basic.cpp | 10 +- ginac/basic.h | 2 - ginac/clifford.cpp | 16 +- ginac/clifford.h | 36 +-- ginac/color.h | 32 +-- ginac/compiler.h | 2 + ginac/constant.h | 22 +- ginac/container.h | 316 +++++++++-------------- ginac/ex.cpp | 2 +- ginac/ex.h | 17 +- ginac/excompiler.cpp | 4 +- ginac/expairseq.cpp | 3 +- ginac/expairseq.h | 40 ++- ginac/factor.cpp | 13 +- ginac/fail.h | 2 +- ginac/fderivative.h | 22 +- ginac/function.cppy | 2 +- ginac/function.hppy | 44 ++-- ginac/idx.h | 40 +-- ginac/indexed.cpp | 41 ++- ginac/indexed.h | 28 +- ginac/inifcns.cpp | 6 +- ginac/inifcns_nstdsums.cpp | 90 +++---- ginac/integral.h | 38 +-- ginac/matrix.h | 34 +-- ginac/mul.h | 72 +++--- ginac/ncmul.cpp | 10 +- ginac/ncmul.h | 34 +-- ginac/normal.cpp | 38 +-- ginac/numeric.h | 48 ++-- ginac/operators.cpp | 1 - ginac/power.cpp | 20 +- ginac/power.h | 62 ++--- ginac/print.h | 8 +- ginac/pseries.h | 42 +-- ginac/registrar.h | 6 +- ginac/relational.h | 28 +- ginac/structure.h | 82 +++--- ginac/symbol.h | 53 ++-- ginac/symmetry.h | 15 +- ginac/tensor.h | 52 ++-- ginac/wildcard.h | 8 +- ginsh/ginsh_parser.ypp | 10 +- m4/ax_cxx_compile_stdcxx.m4 | 558 ++++++++++++++++++++++++++++++++++++++++ m4/ax_cxx_compile_stdcxx_11.m4 | 172 ------------- 67 files changed, 1500 insertions(+), 1183 deletions(-) create mode 100644 m4/ax_cxx_compile_stdcxx.m4 delete mode 100644 m4/ax_cxx_compile_stdcxx_11.m4 hooks/post-receive -- GiNaC -- a C++ library for symbolic computations
participants (1)
-
git@ginac.de