]>
www.ginac.de Git - ginac.git/log
Christian Bauer [Fri, 6 Dec 2002 19:23:34 +0000 (19:23 +0000)]
GiNaC 1.1 requires GCC 3.x
Christian Bauer [Wed, 4 Dec 2002 20:44:10 +0000 (20:44 +0000)]
implemented 'smartsubs' algebraic substitution, donated by Chris Dams
(tutorial not yet in sync, will update later)
Christian Bauer [Tue, 3 Dec 2002 21:52:34 +0000 (21:52 +0000)]
cleaned up some is_a<> vs. is_exactly_a<> stuff
Christian Bauer [Wed, 27 Nov 2002 19:19:01 +0000 (19:19 +0000)]
synced to 1.0
Christian Bauer [Thu, 21 Nov 2002 23:05:36 +0000 (23:05 +0000)]
synced to 1.0
Christian Bauer [Wed, 20 Nov 2002 20:44:49 +0000 (20:44 +0000)]
- synced to 1.0 (gammaL/R)
- removed dirac_gamma6/7()
- renamed simplify_ncmul() to eval_ncmul(), as it should have been called from
the beginning
Christian Bauer [Wed, 20 Nov 2002 20:43:51 +0000 (20:43 +0000)]
synced to 1.0
Christian Bauer [Wed, 20 Nov 2002 20:43:45 +0000 (20:43 +0000)]
documentation update
Christian Bauer [Sun, 10 Nov 2002 22:11:18 +0000 (22:11 +0000)]
synced to 1.0
Christian Bauer [Wed, 6 Nov 2002 20:11:06 +0000 (20:11 +0000)]
synced to 1.0
Christian Bauer [Tue, 5 Nov 2002 17:50:20 +0000 (17:50 +0000)]
synced to 1.0
Christian Bauer [Tue, 29 Oct 2002 19:03:35 +0000 (19:03 +0000)]
synced to 1.0
Christian Bauer [Fri, 25 Oct 2002 18:44:14 +0000 (18:44 +0000)]
synced to 1.0
Christian Bauer [Fri, 25 Oct 2002 18:17:47 +0000 (18:17 +0000)]
synced to 1.0
Christian Bauer [Thu, 24 Oct 2002 21:06:40 +0000 (21:06 +0000)]
synced to 1.0
Christian Bauer [Thu, 24 Oct 2002 18:14:55 +0000 (18:14 +0000)]
synced to 1.0
Christian Bauer [Thu, 17 Oct 2002 18:36:23 +0000 (18:36 +0000)]
synced to 1.0
Christian Bauer [Wed, 16 Oct 2002 20:44:08 +0000 (20:44 +0000)]
Redone the way in which function serial numbers are stored. This allows for
using namespace qualifiers in the is_ex_the_function() macro like this
is_ex_the_function(e, GiNaC::sin);
and it also works with the (overloaded) zeta() and psi() functions.
Unfortunately, it's not possible to
using GiNaC::sin;
is_ex_the_function(e, sin);
and the is_the_function<> template is not useful outside the is_ex_the_function()
macro. Even renaming the 'sin_SERIAL' class to 'sin' (which doesn't seem to
work with gcc3) you would still have to write 'is_the_function<class sin>(e)'
instead of 'is_the_function<sin>(e)'. I currently see no better solution,
though...
Christian Bauer [Wed, 16 Oct 2002 17:57:12 +0000 (17:57 +0000)]
synced to 1.0
Christian Bauer [Wed, 9 Oct 2002 20:12:16 +0000 (20:12 +0000)]
scalar_products allows the specification of an index dimension, e.g. to
give different values to 4- and D-dimensional products
Christian Bauer [Wed, 9 Oct 2002 20:11:12 +0000 (20:11 +0000)]
documentation update
Richard Kreckel [Thu, 3 Oct 2002 19:51:38 +0000 (19:51 +0000)]
* Documentation update.
Richard Kreckel [Thu, 3 Oct 2002 19:51:07 +0000 (19:51 +0000)]
* lsolve(): Fix type of last argument (oops).
Richard Kreckel [Tue, 1 Oct 2002 20:11:13 +0000 (20:11 +0000)]
* irem(), iquo(): throw an exception, when second argument vanishes.
* inline some trivial calls to cln::instanceof().
Richard Kreckel [Fri, 27 Sep 2002 21:29:22 +0000 (21:29 +0000)]
* Update for Doxygen 1.2.18 (includes .gif to .png conversion).
Richard Kreckel [Mon, 23 Sep 2002 19:46:18 +0000 (19:46 +0000)]
* numeric::print(): increase precision for C source output.
Christian Bauer [Wed, 18 Sep 2002 17:18:13 +0000 (17:18 +0000)]
synced to 1.0
Richard Kreckel [Wed, 18 Sep 2002 17:06:48 +0000 (17:06 +0000)]
* Fix comment.
Richard Kreckel [Wed, 18 Sep 2002 17:06:12 +0000 (17:06 +0000)]
* Fix CLN output of a-2. (Chris Dams)
Richard Kreckel [Mon, 2 Sep 2002 21:14:49 +0000 (21:14 +0000)]
* Fix citation. (The arctan formula for Pi is due to John Machin and
not Pierre Me'chain. This confusion came from Davenport's book.)
Richard Kreckel [Mon, 2 Sep 2002 20:43:08 +0000 (20:43 +0000)]
* Fix broken C output. (Chris Dams)
Richard Kreckel [Tue, 27 Aug 2002 17:18:23 +0000 (17:18 +0000)]
* Fix CLN output of -2*a-2*b. (Chris Dams)
Christian Bauer [Wed, 7 Aug 2002 21:47:49 +0000 (21:47 +0000)]
synced to 1.0
Richard Kreckel [Mon, 5 Aug 2002 22:03:01 +0000 (22:03 +0000)]
* Add virtual method remove_all() to the containers (by Roberto Bagnara).
Richard Kreckel [Mon, 5 Aug 2002 21:38:42 +0000 (21:38 +0000)]
* Synced to 1.0.
Richard Kreckel [Thu, 25 Jul 2002 14:49:57 +0000 (14:49 +0000)]
* Synced to 1.0.
Christian Bauer [Wed, 24 Jul 2002 20:20:08 +0000 (20:20 +0000)]
synced to 1.0
Christian Bauer [Mon, 22 Jul 2002 20:33:13 +0000 (20:33 +0000)]
synced to 1.0
Christian Bauer [Thu, 18 Jul 2002 21:56:54 +0000 (21:56 +0000)]
synced to 1.0
Christian Bauer [Thu, 18 Jul 2002 20:08:52 +0000 (20:08 +0000)]
synced to 1.0 (tens4delta and mink4metric replaced by the new index dimension
scheme)
Christian Bauer [Thu, 18 Jul 2002 20:08:09 +0000 (20:08 +0000)]
synced to 1.0
Christian Bauer [Mon, 8 Jul 2002 21:49:48 +0000 (21:49 +0000)]
synced to 1.0 (for real this time...)
Christian Bauer [Mon, 8 Jul 2002 21:07:33 +0000 (21:07 +0000)]
moved even more duplicated code to the 'tensor' class
Christian Bauer [Mon, 8 Jul 2002 19:19:17 +0000 (19:19 +0000)]
synced to 1.0 with respect to dummy index repositioning
Richard Kreckel [Thu, 4 Jul 2002 19:50:27 +0000 (19:50 +0000)]
* Include the operators.h header file in the source files, not in ex.h.
Rationale: It really gets in the way there, when trying to strip down
the source files for debugging purposes.
Richard Kreckel [Wed, 3 Jul 2002 21:33:20 +0000 (21:33 +0000)]
* Enable tests N, Q and Q' by default.
Rationale: Hubert finally is buying new cool hardware. ;-)
* New test for expanding x^(x-1)*x. Complain to JvdH. ;-)
Richard Kreckel [Wed, 3 Jul 2002 21:31:50 +0000 (21:31 +0000)]
* Include the operators.h header file in the source files, not in ex.h.
Rationale: It really gets in the way there, when trying to strip down
the source files for debugging purposes.
* are_ex_trivially_equal(): use this only when reasonable, i.e. when
an operation on all children was a no-op such that the this pointer is
returned.
Christian Bauer [Wed, 3 Jul 2002 20:51:04 +0000 (20:51 +0000)]
synced to 1.0
Christian Bauer [Mon, 1 Jul 2002 17:51:25 +0000 (17:51 +0000)]
implemented 4-dimensional delta, metric and epsilon tensors
Christian Bauer [Mon, 10 Jun 2002 21:48:39 +0000 (21:48 +0000)]
synced to 1.0
Christian Bauer [Mon, 13 May 2002 20:22:25 +0000 (20:22 +0000)]
mentioned the imaginary unit 'I'
Christian Bauer [Thu, 2 May 2002 21:38:57 +0000 (21:38 +0000)]
* Sync 1.1 branch to 1.0 mainline.
Richard Kreckel [Thu, 2 May 2002 21:08:41 +0000 (21:08 +0000)]
* rotate_left(): rewrite to help compiler make use of rol insns.
* golden_ratio_hash(): Fix comments.
Richard Kreckel [Wed, 1 May 2002 21:09:30 +0000 (21:09 +0000)]
* Oops, a FIXME has crept into the last commit.
Richard Kreckel [Tue, 30 Apr 2002 23:42:41 +0000 (23:42 +0000)]
* Globalize the hash-value-space.
Richard Kreckel [Wed, 10 Apr 2002 20:05:34 +0000 (20:05 +0000)]
* basic::compare(const basic&): Rearrange in a more compact fashion.
(Rationale: produces better code.)
Richard Kreckel [Wed, 10 Apr 2002 20:02:56 +0000 (20:02 +0000)]
* expairseq::calchash(): Remove one superfluous rotation.
Richard Kreckel [Wed, 10 Apr 2002 18:57:06 +0000 (18:57 +0000)]
* numeric::calchash(): Apply golden_ratio_hash() to the value returned
by CLN. (Rationale: this populates more bits for the frequent small
integers resulting in much less opportunity for funny cancellations in
hash-values of monomials.)
Richard Kreckel [Tue, 9 Apr 2002 21:17:06 +0000 (21:17 +0000)]
* Added documentation for the add_dyn(), mul_dyn()... methods.
Richard Kreckel [Tue, 9 Apr 2002 21:15:58 +0000 (21:15 +0000)]
* Bump up repetitions since these tests have turned out to be very useful
for detecting errors in the polynomial code.
Richard Kreckel [Thu, 28 Mar 2002 19:38:32 +0000 (19:38 +0000)]
* beta(1,x) evaluates to 1/x.
Richard Kreckel [Thu, 28 Mar 2002 15:44:36 +0000 (15:44 +0000)]
* mul::expand(): Fix bug in aggressive version of expansion of two sums
and enable it.
Richard Kreckel [Thu, 28 Mar 2002 15:38:37 +0000 (15:38 +0000)]
* Clean up the output of all timings to stderr.
Richard Kreckel [Thu, 28 Mar 2002 01:14:19 +0000 (01:14 +0000)]
* mul::expand() (mul.cpp): When multiplying two sums, be careful not to
allocate too much.
Richard Kreckel [Thu, 28 Mar 2002 00:27:27 +0000 (00:27 +0000)]
* expairseq::combine_same_terms_sorted_seq() (expairseq.cpp): make this
ugh, ohhh, ahh, more... legible. ;-)
Richard Kreckel [Thu, 28 Mar 2002 00:13:40 +0000 (00:13 +0000)]
* (time_fateman_expand.cpp): new file.
* (Makefile.am): compile it.
* (times.h, times.cpp): declare and call it.
Richard Kreckel [Thu, 28 Mar 2002 00:03:07 +0000 (00:03 +0000)]
* expairseq::expairseq(const epvector&, const ex& oc) (expairseq.cpp):
check assertion: GINAC_ASSERT(is_a<numeric>(oc)).
* expairseq::expairseq(epvector*, const ex& oc) (expairseq.cpp): Likewise.
* expair_rest_is_less (expair.h): New functor...
* expairseq::canonicalize() (expairseq.cpp): ...used here.
Richard Kreckel [Wed, 27 Mar 2002 23:41:51 +0000 (23:41 +0000)]
* power::expand_add(): allocate the precise amount needed for representing
the result. And some minor readability cleanups...
Richard Kreckel [Wed, 27 Mar 2002 23:17:48 +0000 (23:17 +0000)]
* Don't push void to static Bernoulli vector, it breaks with GCC-3.1.
Christian Bauer [Wed, 27 Mar 2002 21:27:21 +0000 (21:27 +0000)]
synced with main branch
Richard Kreckel [Sun, 24 Mar 2002 19:11:36 +0000 (19:11 +0000)]
* Add namespace declarators to is_ex_the_function().
Richard Kreckel [Sun, 10 Mar 2002 18:55:32 +0000 (18:55 +0000)]
* Remove " syntax for the execution stack.
(You'll need a bison 1.28 to regenerate your files, since newer versions
are all broken. Dammit.)
Richard Kreckel [Fri, 8 Mar 2002 23:05:29 +0000 (23:05 +0000)]
* Adjust to up-to-date compiler landscape.
Richard Kreckel [Fri, 8 Mar 2002 22:52:37 +0000 (22:52 +0000)]
* Removed deprecated macros is_ex_a, is_ex_exactly_a and friends.
Christian Bauer [Fri, 8 Mar 2002 21:21:25 +0000 (21:21 +0000)]
* Sync 1.1 branch to 1.0 mainline.
Richard Kreckel [Fri, 8 Mar 2002 20:39:57 +0000 (20:39 +0000)]
Sync branch:
* matrix:;pow(): Fix exponent==0 case.
* matrix::print(): Implement print_latex.
* Add unit_matrix(unsigend) and unit_matrix(unsigned,unsigned).
Richard Kreckel [Mon, 4 Mar 2002 20:21:17 +0000 (20:21 +0000)]
* Shlib bumps.
Richard Kreckel [Mon, 4 Mar 2002 20:20:54 +0000 (20:20 +0000)]
* Sync 1.1 branch to 1.0 mainline.
Christian Bauer [Mon, 4 Mar 2002 20:01:00 +0000 (20:01 +0000)]
* Sync 1.1 branch to 1.0 mainline.
Christian Bauer [Wed, 30 Jan 2002 19:32:49 +0000 (19:32 +0000)]
merged from 1.0 branch
Richard Kreckel [Sun, 27 Jan 2002 17:35:11 +0000 (17:35 +0000)]
* Apply safe-bool patch.
Richard Kreckel [Sun, 27 Jan 2002 16:32:27 +0000 (16:32 +0000)]
* Sync 1.1 branch to 1.0 mainline.
Richard Kreckel [Sat, 26 Jan 2002 16:29:52 +0000 (16:29 +0000)]
* Add Roberto Bagnara.
Richard Kreckel [Sat, 26 Jan 2002 16:29:42 +0000 (16:29 +0000)]
* numeric::print(): Treat imaginary numbers correctly.
Christian Bauer [Fri, 25 Jan 2002 18:33:01 +0000 (18:33 +0000)]
- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
of any class (except add/mul/ncmul/numeric) for "s". They should even work
if "s" is a "power" object, as long as the exponent is non-integer, but with
some limitations. For example, you can "collect(a*2^x+b*2^x, 2^x)" to get
"(a+b)*2^x", but "degree(2^(3*x), 2^x)" yields 0 instead of 3).
Richard Kreckel [Fri, 25 Jan 2002 01:28:01 +0000 (01:28 +0000)]
* Finilize version 1.0.4 (version numbers, copyrights and such rubbish).
Richard Kreckel [Fri, 25 Jan 2002 00:03:44 +0000 (00:03 +0000)]
* mul::expand(): Considerable speedup through caching in nested loop.
Richard Kreckel [Tue, 22 Jan 2002 17:01:10 +0000 (17:01 +0000)]
* bernoulli(): Add Markus Nullmeier's new implementation.
* numeric::numeric({int,unsigned}): Really construct CLN immediates.
Richard Kreckel [Sat, 19 Jan 2002 19:12:47 +0000 (19:12 +0000)]
* Enable EXTRACT_ALL for LaTeX.
Richard Kreckel [Sat, 19 Jan 2002 19:12:24 +0000 (19:12 +0000)]
* Docu: elaborate definition of sqrfree() (by Roberto Bagnara)
Richard Kreckel [Fri, 18 Jan 2002 20:06:01 +0000 (20:06 +0000)]
* Updated.
Richard Kreckel [Fri, 18 Jan 2002 19:59:19 +0000 (19:59 +0000)]
* Updated.
Richard Kreckel [Fri, 18 Jan 2002 19:59:09 +0000 (19:59 +0000)]
* Faster Bernoulli numbers (Markus Nullmeier).
Richard Kreckel [Tue, 15 Jan 2002 14:46:17 +0000 (14:46 +0000)]
* GINAC_CHECK_ERRORS: Don't delete cache_file /dev/null (by Roberto Bagnara).
Richard Kreckel [Fri, 11 Jan 2002 18:48:39 +0000 (18:48 +0000)]
* Document the rounding behavior as dicussed on ginac-list.
Richard Kreckel [Fri, 21 Dec 2001 21:06:52 +0000 (21:06 +0000)]
* Adjust for 1.0.3.
Richard Kreckel [Fri, 21 Dec 2001 20:32:23 +0000 (20:32 +0000)]
* Fix thinkos in print_csrc context.
(Cebix: read the implementations of ex::compare() and basic::compare()!!!)
Christian Bauer [Thu, 20 Dec 2001 14:24:45 +0000 (14:24 +0000)]
fixed a bug where quo() would call vector::reserve() with a negative argument
Christian Bauer [Thu, 20 Dec 2001 14:24:34 +0000 (14:24 +0000)]
added check for quo() bug
Christian Bauer [Thu, 20 Dec 2001 14:24:27 +0000 (14:24 +0000)]
documentation update