[SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-443-g1994570
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 1994570795185f89cc848843cc53664740d20fa0 (commit) via aa2485821e68ea5f627d5753b41245a4cbd62fe3 (commit) from fb9800befac02abddc754d051501ec446ae2b9bf (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 1994570795185f89cc848843cc53664740d20fa0 Author: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk> Date: Sun Feb 8 20:53:55 2015 +0100 Fixing index in tutorial. The index entry for clifford::get_metric() did not work, change it to get_metric(). Signed-off-by: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk> commit aa2485821e68ea5f627d5753b41245a4cbd62fe3 Author: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk> Date: Sun Feb 8 20:50:51 2015 +0100 Explicit derivation of functions. Some function cannot be cleanly differentiated through the chain rule. For example, it is natural to define derivative of the absolute value as (abs(f))'=(f'*f.conjugate()+f*f'.conjugate())/2/abs(f) This patch adds a possibility to define derivatives of functions in this way. In particular the derivative of abs(), Order(), real_part(), imag_part() and conjugate() are defined. For example, conjugate of a derivative with respect of a real symbol If x is real then U.diff(x)-I*V.diff(x) represents both conjugate(U+I*V).diff(x) and conjugate((U+I*V).diff(x)) Thus in this patch we use the rule conjugate(f)'=conjugate(f') for a derivative with respect to the real symbol. Signed-off-by: Vladimir V. Kisil <kisilv@maths.leeds.ac.uk> ----------------------------------------------------------------------- Summary of changes: check/exam_inifcns.cpp | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/tutorial/ginac.texi | 28 ++++++++++++++++++--- ginac/function.cppy | 33 +++++++++++++++++++++---- ginac/function.hppy | 6 +++++ ginac/function.py | 2 +- ginac/inifcns.cpp | 54 +++++++++++++++++++++++++++++++++++++++- 6 files changed, 178 insertions(+), 11 deletions(-) hooks/post-receive -- GiNaC -- a C++ library for symbolic computations
participants (1)
-
git@ginac.de