]>
www.ginac.de Git - ginac.git/log
Alexei Sheplyakov [Wed, 19 Mar 2008 09:28:10 +0000 (12:28 +0300)]
Implicit conversion from cl_N to numeric considered harmful.
Finally, mark the numeric(const cl_N&) ctor as explicit.
This allows one to mix the code using GiNaC and CLN, i.e.
cl_N x, y;
// initialize them
cl_N z = sin(x) + y*exp(y);
symbol a("a");
ex e = exp(a);
Alexei Sheplyakov [Wed, 19 Mar 2008 09:27:27 +0000 (12:27 +0300)]
bernoulli, fibonacci, iquo: explicitly convert return values to numeric.
Implicit conversion from cl_N to numeric considered harmful, part 6.
Alexei Sheplyakov [Wed, 19 Mar 2008 09:27:07 +0000 (12:27 +0300)]
tgamma, lgamma: convert to take cl_N as an argument; provide wrappers for GiNaC::numeric
Implicit conversion from cl_N to numeric considered harmful, part 5.
Alexei Sheplyakov [Wed, 19 Mar 2008 09:26:52 +0000 (12:26 +0300)]
Li2, zeta, sqrt, abs, gcd, etc.: explicitly convert return value to numeric.
Implicit conversion from cl_N to numeric considered harmful, part 4.
Alexei Sheplyakov [Wed, 19 Mar 2008 09:26:23 +0000 (12:26 +0300)]
elementary functions: explicitly convert return values from cl_N to numeric.
Implicit conversion from cl_N to numeric considered harmful, part 3.
Alexei Sheplyakov [Wed, 19 Mar 2008 09:25:55 +0000 (12:25 +0300)]
inifcns_nstdsums.cpp: Lin_numeric takes cl_N as an argument instead of numeric.
Implicit conversion from cl_N to numeric considered harmful, part 2.
Alexei Sheplyakov [Wed, 19 Mar 2008 09:24:36 +0000 (12:24 +0300)]
inifcns_nstdsums.cpp: S_num takes cl_N as an argument instead of numeric.
Implicit conversion from cl_N to numeric considered harmful.
Using GiNaC::numeric for numerical computations incurs significant
overhead, so one might want to do these computations using proper CLN
types. Unfortunately, it's not easy due to automatic conversion from
cln::cl_N to GiNaC::numeric. Here is a simple example:
cl_N x, y;
// initialize them
return sin(x) + y*exp(y);
The compiler complains about ambigously overloaded of functions, i.e.
cl_N cln::sin(const cl_N&) versus numeric GiNaC::sin(const numeric&).
Hence, I propose to disable *implicit* conversion from cl_N to numeric
(this can be done by marking the numeric ctor as `explicit').
However, this change happens to be a bit nontrivial, because that evil
conversion is used in GiNaC itself. So, I decided to rewrite those fragments
of code.
Richard B. Kreckel [Tue, 15 Jul 2008 21:57:43 +0000 (23:57 +0200)]
documentation: it is get_dim(), not get_dimension()
This was misdocumented ever since GiNaC-0.8.0.
Alexei Sheplyakov [Mon, 14 Jul 2008 13:46:25 +0000 (17:46 +0400)]
clifford_unit: fix possible bugs due to wrong operator[!=]= usage.
Jens Vollinga [Wed, 25 Jun 2008 09:28:11 +0000 (11:28 +0200)]
Removed left-over debugging line.
Jens Vollinga [Wed, 25 Jun 2008 09:17:55 +0000 (11:17 +0200)]
Make the behaviour of class function more consistent with respect to
ncmul::eval(). [V.Kisil]
Jens Vollinga [Tue, 24 Jun 2008 19:26:58 +0000 (21:26 +0200)]
Improve heur_gcd() so it can handle rational polynomials, and add a test case.
Previously heur_gcd() worked only with integer polynomials, and did not check
if the inputs are indeed integer polynomials. That lead to an endless loop or
a miscomputed gcd.
[A.Sheplyakov]
Jens Vollinga [Fri, 4 Apr 2008 12:48:19 +0000 (14:48 +0200)]
Fixed bug in mLi summation causing premature drop-out and made Nielsen polylog
invalidate its lookup tables if precision has been changed.
Jens Vollinga [Fri, 4 Apr 2008 12:47:07 +0000 (14:47 +0200)]
Added legacy tests for zeta and multiple polylog.
Jens Vollinga [Wed, 13 Dec 2006 20:04:23 +0000 (20:04 +0000)]
Check for fixed bug in multiple polylogs.
Jens Vollinga [Thu, 3 Apr 2008 09:56:57 +0000 (11:56 +0200)]
Fixed bugs found by Jianqiang Zhao.
Richard B. Kreckel [Thu, 27 Mar 2008 22:56:32 +0000 (23:56 +0100)]
Adjust for GiNaC 1.5.
Jens Vollinga [Thu, 27 Mar 2008 10:16:11 +0000 (11:16 +0100)]
Merge commit 'origin/master'
Jens Vollinga [Thu, 27 Mar 2008 10:08:09 +0000 (11:08 +0100)]
Fixed make distcheck issues.
Richard B. Kreckel [Wed, 26 Mar 2008 23:50:19 +0000 (00:50 +0100)]
Update debian/changelog in anticipation of release.
In reality, I'm testing the post-receive hook.
Richard B. Kreckel [Wed, 26 Mar 2008 23:05:38 +0000 (00:05 +0100)]
Merge git://www.ginac.de/ginac
Jens Vollinga [Wed, 26 Mar 2008 12:33:55 +0000 (13:33 +0100)]
Small improvement to VPATH fix.
Jens Vollinga [Wed, 26 Mar 2008 12:09:00 +0000 (13:09 +0100)]
Fixed info-generation problems with VPATH builds.
Richard B. Kreckel [Tue, 25 Mar 2008 23:03:08 +0000 (00:03 +0100)]
Update debian/ files.
Use the files that were uploaded with GiNaC 1.4.1 in Debian.
Richard B. Kreckel [Tue, 25 Mar 2008 21:59:52 +0000 (22:59 +0100)]
Happy new year!
Updated all copyright notices.
Alexei Sheplyakov [Tue, 18 Mar 2008 06:45:25 +0000 (09:45 +0300)]
move rotate_left() function away from the public header.
Alexei Sheplyakov [Tue, 18 Mar 2008 06:24:56 +0000 (09:24 +0300)]
INSTALL: libreadline is not mandatory; ginsh builds just fine without it.
Alexei Sheplyakov [Tue, 18 Mar 2008 06:04:12 +0000 (09:04 +0300)]
update the compiler info; tell users to avoid GCC 4.3.0
Alexei Sheplyakov [Tue, 4 Mar 2008 09:46:59 +0000 (12:46 +0300)]
symbol.cpp: shut up useless warnings
../../sw/ginac/ginac/symbol.h: In constructor 'GiNaC::symbol::symbol()':
../../sw/ginac/ginac/symbol.h:112: warning: 'GiNaC::symbol::ret_type_tinfo' will be initialized after
../../sw/ginac/ginac/symbol.h:110: warning: 'unsigned int GiNaC::symbol::domain'
../../sw/ginac/ginac/symbol.cpp:47: warning: when initialized here
../../sw/ginac/ginac/symbol.h: In constructor 'GiNaC::symbol::symbol(const std::string&, unsigned int)':
../../sw/ginac/ginac/symbol.h:112: warning: 'GiNaC::symbol::ret_type_tinfo' will be initialized after
../../sw/ginac/ginac/symbol.h:110: warning: 'unsigned int GiNaC::symbol::domain'
../../sw/ginac/ginac/symbol.cpp:75: warning: when initialized here
../../sw/ginac/ginac/symbol.h: In constructor 'GiNaC::symbol::symbol(const std::string&, unsigned int, const void*, unsigned int)':
The warnings are a bit silly, but they can hide more useful ones.
Alexei Sheplyakov [Thu, 28 Feb 2008 07:11:50 +0000 (10:11 +0300)]
check: indicate the test failures with non-zero exit code; split test programs.
IMNSHO parsing the output of test programs in order to check if the
tests passed is a bad idea (and it causes *real* problems, see e.g.
http://www.ginac.de/pipermail/ginac-list/2008-February/001345.html).
It's much simpler and cleaner to indicate the failure in a genuine
*NIX way: exit with nonzero code.
Richard Kreckel [Sat, 23 Feb 2008 02:27:56 +0000 (02:27 +0000)]
* Version 1.5.
Richard Kreckel [Fri, 22 Feb 2008 04:23:57 +0000 (04:23 +0000)]
* Improved lsolve() of systems containing non-numeric coefficients.
Alexei Sheplyakov [Fri, 28 Dec 2007 14:51:16 +0000 (17:51 +0300)]
kill spurious comma in flags.h
Alexei Sheplyakov [Fri, 14 Dec 2007 21:07:04 +0000 (00:07 +0300)]
check/*_memleak.cpp: fix botched CVS commit[s].
Alexei Sheplyakov [Fri, 14 Dec 2007 14:31:06 +0000 (17:31 +0300)]
Improve instructions for installing GiNaC from CVS.
* prerequisites: mention libtool, flex, and bison.
* installation: required software should be installed BEFORE generating
the `configure' script.
Richard Kreckel [Wed, 12 Dec 2007 04:57:03 +0000 (04:57 +0000)]
* Fix GCC 4.3 compilation issue by removing storage class of function coerce specializations [C++98 7.1.1-1].
Jens Vollinga [Thu, 22 Nov 2007 02:40:31 +0000 (02:40 +0000)]
Fixed memory leak program.
Jens Vollinga [Wed, 21 Nov 2007 04:37:53 +0000 (04:37 +0000)]
* Fixed module loading bug (occured if . was not in the library path).
Jens Vollinga [Wed, 21 Nov 2007 04:28:26 +0000 (04:28 +0000)]
* Fixed broken preprocessor instruction [Sheplyakov].
Jens Vollinga [Wed, 21 Nov 2007 04:20:44 +0000 (04:20 +0000)]
* Fixed memory leak in ginac_yylex() [Sheplyakov].
Jens Vollinga [Wed, 21 Nov 2007 04:19:50 +0000 (04:19 +0000)]
Added small program that exhibits the memory leak in the ginac_yylex() [Sheplyakov].
Jens Vollinga [Wed, 21 Nov 2007 04:14:32 +0000 (04:14 +0000)]
* Deleted bogus try -- catch block in the ex::series() [Sheplyakov].
Jens Vollinga [Wed, 21 Nov 2007 04:13:13 +0000 (04:13 +0000)]
* Added check for memory leak in {mul,power}::eval [Sheplyakov].
Jens Vollinga [Wed, 21 Nov 2007 04:01:20 +0000 (04:01 +0000)]
* Fixed macro checking for version of libreadline (Mac OS X) [Sheplyakov].
Richard Kreckel [Tue, 16 Oct 2007 06:19:15 +0000 (06:19 +0000)]
* Fix optimization opportunities missed by Alexei's patch.
Jens Vollinga [Mon, 15 Oct 2007 23:41:21 +0000 (23:41 +0000)]
- Do not bother to rename indices if object has no indices at all [Sheplyakov].
Jens Vollinga [Mon, 15 Oct 2007 23:40:57 +0000 (23:40 +0000)]
- This helps mul::expand() and friends to recognize objects which have
no indices at all [Sheplyakov].
Jens Vollinga [Mon, 15 Oct 2007 23:40:30 +0000 (23:40 +0000)]
- Apparently, in ~ 30% of calls to mul::expand the expression is monomial.
Expanding monomials should be done as fast as possible [Sheplyakov].
Jens Vollinga [Mon, 15 Oct 2007 23:39:42 +0000 (23:39 +0000)]
- Partially solves performance regression in expand(), gcd(), etc [Sheplyakov].
Jens Vollinga [Mon, 15 Oct 2007 23:39:01 +0000 (23:39 +0000)]
- info(info_flags::has_indices) now works for sums and products. It
returns true if the expression has indices (no matter dummy or free),
and false otherwise [Sheplyakov].
Jens Vollinga [Fri, 7 Sep 2007 18:48:22 +0000 (18:48 +0000)]
Improved CLN output [Sheplyakov].
Jens Vollinga [Wed, 5 Sep 2007 16:52:25 +0000 (16:52 +0000)]
Added example for mystring class [Sheplyakov].
Jens Vollinga [Wed, 5 Sep 2007 16:43:49 +0000 (16:43 +0000)]
Removed reference to autogen.sh [Sheplyakov]
Richard Kreckel [Wed, 5 Sep 2007 05:25:12 +0000 (05:25 +0000)]
* Adjust to files used for rolling Debian's 1.4.0-1 GiNaC packages.
Richard Kreckel [Wed, 5 Sep 2007 04:42:37 +0000 (04:42 +0000)]
Put entire GiNaC documentation into @dircategory 'Mathematics' for info.
Jens Vollinga [Wed, 5 Sep 2007 03:35:44 +0000 (03:35 +0000)]
Added missing example source.
Jens Vollinga [Sat, 1 Sep 2007 01:02:09 +0000 (01:02 +0000)]
Added CLEANFILES.
Jens Vollinga [Sat, 1 Sep 2007 00:21:02 +0000 (00:21 +0000)]
Hide failure due to term reordering.
Jens Vollinga [Fri, 31 Aug 2007 23:30:26 +0000 (23:30 +0000)]
Preparing for release.
Jens Vollinga [Tue, 28 Aug 2007 21:21:18 +0000 (21:21 +0000)]
Added compiler.h
Jens Vollinga [Tue, 28 Aug 2007 18:00:01 +0000 (18:00 +0000)]
File added [A.Sheplyakov]
Jens Vollinga [Mon, 27 Aug 2007 16:51:59 +0000 (16:51 +0000)]
Added changes.
Jens Vollinga [Mon, 27 Aug 2007 16:49:08 +0000 (16:49 +0000)]
input_parser accepts also pow() [A.Sheplyakov]
Jens Vollinga [Mon, 27 Aug 2007 16:46:44 +0000 (16:46 +0000)]
Converting terms into primitive polynomials optimized [A.Sheplyakov]
Jens Vollinga [Mon, 27 Aug 2007 16:35:35 +0000 (16:35 +0000)]
info_flags::expanded added [A.Sheplyakov]
Jens Vollinga [Mon, 27 Aug 2007 16:12:51 +0000 (16:12 +0000)]
lst_to_clifford() and clifford_to_lst() can handle pseudo-vector representation
now [V.Kisil].
Jens Vollinga [Mon, 27 Aug 2007 15:50:11 +0000 (15:50 +0000)]
Removed texinfo.tex
Richard Kreckel [Thu, 16 Aug 2007 04:49:28 +0000 (04:49 +0000)]
* Fix GCC-4.3 compilation issue.
Jens Vollinga [Thu, 2 Aug 2007 22:56:44 +0000 (22:56 +0000)]
- Fixed typos and layout problems.
- Fixed missing tex in html output.
- Changed text to be compatible with new tinfo system.
Jens Vollinga [Thu, 2 Aug 2007 21:39:17 +0000 (21:39 +0000)]
Added missing is_negative() inline function.
Jens Vollinga [Thu, 2 Aug 2007 17:54:42 +0000 (17:54 +0000)]
Updating all changes.
Jens Vollinga [Wed, 1 Aug 2007 22:27:25 +0000 (22:27 +0000)]
Improved clifford_moebius_map() [V.Kisil]
Jens Vollinga [Tue, 31 Jul 2007 16:57:48 +0000 (16:57 +0000)]
Fixed error in examples for match.
Richard Kreckel [Wed, 25 Jul 2007 20:59:02 +0000 (20:59 +0000)]
* Analytic continuation for atan2(y,x) for complex y and x.
Jens Vollinga [Fri, 13 Jul 2007 17:55:20 +0000 (17:55 +0000)]
Clifford units now honor representation labels.
Jens Vollinga [Wed, 11 Jul 2007 20:59:19 +0000 (20:59 +0000)]
Additional transformations for mul and power [Sheplyakov].
Jens Vollinga [Wed, 11 Jul 2007 18:43:22 +0000 (18:43 +0000)]
Correct csrc output for fderivative [Grabner].
Jens Vollinga [Mon, 9 Jul 2007 23:51:53 +0000 (23:51 +0000)]
Applied print_csrc patch [Grabner/Sheplyakov]
Chris Dams [Wed, 16 May 2007 23:21:09 +0000 (23:21 +0000)]
Patch by Stefan Weinzierl that fixes a bug in series expansion.
Richard Kreckel [Mon, 2 Apr 2007 06:16:16 +0000 (06:16 +0000)]
* Fix compilation issues with prereleases of GCC 4.3, at least in theory.
See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417199>.
Richard Kreckel [Thu, 29 Mar 2007 05:29:57 +0000 (05:29 +0000)]
* Use pkg-config for detecting CLN, advertise it in the manual and drop
ginac-config and ginac.m4. [Alexei Sheplyakov]
Chris Dams [Wed, 28 Mar 2007 17:47:02 +0000 (17:47 +0000)]
Patch by Alexei.
Chris Dams [Wed, 28 Mar 2007 16:28:43 +0000 (16:28 +0000)]
Alexeis patch for faster Lanczos coefficient calculation.
Jens Vollinga [Mon, 5 Mar 2007 23:05:49 +0000 (23:05 +0000)]
Improved handling of convergence transformationis for Li/G (fixes problems with certain H() evaluations).
Chris Dams [Thu, 1 Mar 2007 15:10:49 +0000 (15:10 +0000)]
Alexeis patches for documentation and correct degree of 1/symbol.
Chris Dams [Thu, 1 Mar 2007 14:43:33 +0000 (14:43 +0000)]
Faster archiving by adding a map from strings to idices in the atoms vector.
Chris Dams [Mon, 19 Feb 2007 17:01:38 +0000 (17:01 +0000)]
Fixed bug in taking real and imaginary part.
Chris Dams [Tue, 13 Feb 2007 15:14:14 +0000 (15:14 +0000)]
Make series expansion work with non-rational functions. Patch by Alexei.
Chris Dams [Tue, 13 Feb 2007 14:44:39 +0000 (14:44 +0000)]
Created pseries::evalm. Patch by Alexei.
Chris Dams [Wed, 7 Feb 2007 14:31:52 +0000 (14:31 +0000)]
Removed exits from numeric.cpp and use array indices instead of push_back.
Jens Vollinga [Mon, 5 Feb 2007 20:11:40 +0000 (20:11 +0000)]
Synced to ginac_1-3:
Fixed libreadline version detection [A.Sheplyakov]
Chris Dams [Thu, 1 Feb 2007 16:15:02 +0000 (16:15 +0000)]
Added a proof for our new simplification rule for powers.
Richard Kreckel [Thu, 1 Feb 2007 04:41:36 +0000 (04:41 +0000)]
* Fix typo in comment.
Richard Kreckel [Thu, 1 Feb 2007 04:29:19 +0000 (04:29 +0000)]
* Happy New Year(s)!
Chris Dams [Wed, 31 Jan 2007 16:11:52 +0000 (16:11 +0000)]
Fix bug in expansion of powers and improve automatic simplification.
Chris Dams [Wed, 24 Jan 2007 17:52:15 +0000 (17:52 +0000)]
Added an #include<cstdlib>.
Chris Dams [Wed, 17 Jan 2007 21:39:43 +0000 (21:39 +0000)]
Improvements to the code for the Lanczos method as discussed on ginac-devel
in December 2006.
Jens Vollinga [Wed, 20 Dec 2006 22:28:40 +0000 (22:28 +0000)]
Fixed bugs in S() (infinite loop) and H() (wrong results).
Jens Vollinga [Tue, 12 Dec 2006 21:58:51 +0000 (21:58 +0000)]
Bug fix for tensor::replace_contr_index().
Jens Vollinga [Tue, 12 Dec 2006 21:32:11 +0000 (21:32 +0000)]
Improved collecting for sparse multivariate polynomials.