]>
www.ginac.de Git - ginac.git/log
Christian Bauer [Thu, 20 Feb 2003 21:17:42 +0000 (21:17 +0000)]
synced to 1.0
Christian Bauer [Thu, 20 Feb 2003 17:50:43 +0000 (17:50 +0000)]
let_op() is no longer the default implementation of op(). Rationale: let_op()
needs to clear status_flags::hash_calculated, otherwise we could end up with
equal objects that have different hash values. But clearing hash_calculated
on a read-only op() access would be inefficient. let_op() is now only
implemented by lst and matrix.
Christian Bauer [Thu, 20 Feb 2003 03:33:18 +0000 (03:33 +0000)]
- added non-const operator[]
- removed let_op() for power and relational
- removed redundant matrix::op()
Christian Bauer [Wed, 19 Feb 2003 23:32:50 +0000 (23:32 +0000)]
synced to 1.0
Christian Bauer [Wed, 19 Feb 2003 23:13:10 +0000 (23:13 +0000)]
*** empty log message ***
Christian Bauer [Wed, 19 Feb 2003 23:13:04 +0000 (23:13 +0000)]
synced to 1.0
Christian Bauer [Wed, 5 Feb 2003 23:03:17 +0000 (23:03 +0000)]
dimension in dirac gamma contractions was miscalculated
Christian Bauer [Wed, 5 Feb 2003 22:47:12 +0000 (22:47 +0000)]
synced to 1.0
Christian Bauer [Wed, 5 Feb 2003 22:33:10 +0000 (22:33 +0000)]
documentation update
Christian Bauer [Tue, 4 Feb 2003 19:20:04 +0000 (19:20 +0000)]
dummy index renamer uses smaller set of global indices
Christian Bauer [Tue, 4 Feb 2003 19:11:37 +0000 (19:11 +0000)]
dummy index renamer ignores index dimensions
Christian Bauer [Tue, 4 Feb 2003 19:11:14 +0000 (19:11 +0000)]
documentation update
Christian Bauer [Thu, 30 Jan 2003 22:35:15 +0000 (22:35 +0000)]
added to_polynomial(), to complement to_rational()
Christian Bauer [Sat, 25 Jan 2003 00:29:20 +0000 (00:29 +0000)]
delta tensor makes itself square
Christian Bauer [Thu, 23 Jan 2003 19:53:33 +0000 (19:53 +0000)]
synced to 1.0
Christian Bauer [Thu, 23 Jan 2003 18:54:03 +0000 (18:54 +0000)]
synced to 1.0
Christian Bauer [Thu, 23 Jan 2003 17:47:50 +0000 (17:47 +0000)]
added option to print index dimensions
Christian Bauer [Wed, 22 Jan 2003 20:05:21 +0000 (20:05 +0000)]
better error reporting for minimal_dim()
Christian Bauer [Tue, 21 Jan 2003 23:52:31 +0000 (23:52 +0000)]
*** empty log message ***
Christian Bauer [Tue, 21 Jan 2003 23:52:19 +0000 (23:52 +0000)]
2002 -> 2003
Christian Bauer [Tue, 21 Jan 2003 22:36:58 +0000 (22:36 +0000)]
fixed bugs in dummy index symmetrization and clifford contraction
Richard Kreckel [Thu, 26 Dec 2002 16:57:46 +0000 (16:57 +0000)]
* documentation update.
Richard Kreckel [Thu, 26 Dec 2002 16:56:09 +0000 (16:56 +0000)]
* Remove hack obsoleted with GCC 3.x.
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.