[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-402-g0eb0cb5
Alexei Sheplyakov
git at ginac.de
Wed Oct 16 07:23:05 CEST 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 0eb0cb55c76ceab744847d6e66533e292774e1cb (commit)
via 798d53ebb4da4e8e3865ed7bd7f31412fe2be3a7 (commit)
via 0358859aa6bc5806805fa415db79c039af3960d6 (commit)
via 2c886a86f1d020e927d64ab2c79b20437a6bd561 (commit)
via 4e1e7c6547dafc0b0f8695f9eced2591ae816a31 (commit)
via d916416984a857e80962239a0ee93e7216f803bb (commit)
via 10365850aa3803337bfea1fc201b81b6752096d4 (commit)
via 31fef4a6bc14afa46a297b3b87f94204d6c726d5 (commit)
via 50ed15a65e858858999be45301b3f49821cb1e71 (commit)
from 52c44ffaee28a70b6df3280c3354ee4241473b14 (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 0eb0cb55c76ceab744847d6e66533e292774e1cb
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Wed Sep 11 09:26:30 2013 +0100
abs() and conjugate() provide some info() now.
commit 798d53ebb4da4e8e3865ed7bd7f31412fe2be3a7
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Wed Sep 11 09:26:30 2013 +0100
Make it possible to override info() for functions.
Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
commit 0358859aa6bc5806805fa415db79c039af3960d6
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Thu Aug 1 14:37:45 2013 +0100
Power with a real base and even exponent reports that it's non-negative
Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
commit 2c886a86f1d020e927d64ab2c79b20437a6bd561
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Thu Aug 1 14:37:45 2013 +0100
Improve abs_eval(): abs(conjugate(z)) => abs(z), ...
... abs(step(z)) => step(z)
Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
commit 4e1e7c6547dafc0b0f8695f9eced2591ae816a31
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Mon Oct 7 08:04:30 2013 +0300
Functions can define a custom expand() now.
Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
commit d916416984a857e80962239a0ee93e7216f803bb
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Wed Jul 31 09:48:24 2013 +0100
More evaluation rules: abs(x^n) => abs(x)^n (x > 0, n is real).
A simple test is added as well.
Signed-off-by: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
commit 10365850aa3803337bfea1fc201b81b6752096d4
Author: Vladimir V. Kisil <kisilv at maths.leeds.ac.uk>
Date: Tue Jul 30 16:40:38 2013 +0100
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 at maths.leeds.ac.uk>
commit 31fef4a6bc14afa46a297b3b87f94204d6c726d5
Author: Alexei Sheplyakov <Alexei.Sheplyakov at gmail.com>
Date: Sun Oct 13 13:16:16 2013 +0300
mul::info(): cache the result of the positiveness/negativeness checks, ...
... and use the cached result if possible.
commit 50ed15a65e858858999be45301b3f49821cb1e71
Author: Alexei Sheplyakov <Alexei.Sheplyakov at gmail.com>
Date: Sat Aug 3 17:01:42 2013 +0300
Introduce status_flags::{is_positive,is_negative,purely_indefinite}
Quite a number of transformations can be applied if the expression
is known to be positive (negative) (for instance, sqrt(x^2*y^2) = x*y
if x >= 0 and y >= 0). However the check itself might be quite expensive.
Hence a few status_flags are introduced to cache the result.
-----------------------------------------------------------------------
Summary of changes:
check/CMakeLists.txt | 1 +
check/check_mul_info.cpp | 14 +++++++
check/exam_inifcns.cpp | 44 +++++++++++++++++++++-
ginac/flags.h | 12 ++++-
ginac/function.cppy | 69 ++++++++++++++++++++++++++++-----
ginac/function.hppy | 11 +++++
ginac/function.py | 2 +-
ginac/inifcns.cpp | 95 +++++++++++++++++++++++++++++++++++++++++++---
ginac/mul.cpp | 27 ++++++++++++-
ginac/power.cpp | 2 +
ginac/version.h | 4 +-
11 files changed, 256 insertions(+), 25 deletions(-)
create mode 100644 check/check_mul_info.cpp
hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations
More information about the GiNaC-devel
mailing list