]> www.ginac.de Git - ginac.git/log
ginac.git
21 years agodocumentation update
Christian Bauer [Tue, 4 Feb 2003 19:11:14 +0000 (19:11 +0000)]
documentation update

21 years agoadded to_polynomial(), to complement to_rational()
Christian Bauer [Thu, 30 Jan 2003 22:35:15 +0000 (22:35 +0000)]
added to_polynomial(), to complement to_rational()

21 years agodelta tensor makes itself square
Christian Bauer [Sat, 25 Jan 2003 00:29:20 +0000 (00:29 +0000)]
delta tensor makes itself square

21 years agosynced to 1.0
Christian Bauer [Thu, 23 Jan 2003 19:53:33 +0000 (19:53 +0000)]
synced to 1.0

21 years agosynced to 1.0
Christian Bauer [Thu, 23 Jan 2003 18:54:03 +0000 (18:54 +0000)]
synced to 1.0

21 years agoadded option to print index dimensions
Christian Bauer [Thu, 23 Jan 2003 17:47:50 +0000 (17:47 +0000)]
added option to print index dimensions

21 years agobetter error reporting for minimal_dim()
Christian Bauer [Wed, 22 Jan 2003 20:05:21 +0000 (20:05 +0000)]
better error reporting for minimal_dim()

21 years ago*** empty log message ***
Christian Bauer [Tue, 21 Jan 2003 23:52:31 +0000 (23:52 +0000)]
*** empty log message ***

21 years ago2002 -> 2003
Christian Bauer [Tue, 21 Jan 2003 23:52:19 +0000 (23:52 +0000)]
2002 -> 2003

21 years agofixed bugs in dummy index symmetrization and clifford contraction
Christian Bauer [Tue, 21 Jan 2003 22:36:58 +0000 (22:36 +0000)]
fixed bugs in dummy index symmetrization and clifford contraction

21 years ago* documentation update.
Richard Kreckel [Thu, 26 Dec 2002 16:57:46 +0000 (16:57 +0000)]
* documentation update.

21 years ago* Remove hack obsoleted with GCC 3.x.
Richard Kreckel [Thu, 26 Dec 2002 16:56:09 +0000 (16:56 +0000)]
* Remove hack obsoleted with GCC 3.x.

21 years agoGiNaC 1.1 requires GCC 3.x
Christian Bauer [Fri, 6 Dec 2002 19:23:34 +0000 (19:23 +0000)]
GiNaC 1.1 requires GCC 3.x

21 years agoimplemented 'smartsubs' algebraic substitution, donated by Chris Dams
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)

21 years agocleaned up some is_a<> vs. is_exactly_a<> stuff
Christian Bauer [Tue, 3 Dec 2002 21:52:34 +0000 (21:52 +0000)]
cleaned up some is_a<> vs. is_exactly_a<> stuff

21 years agosynced to 1.0
Christian Bauer [Wed, 27 Nov 2002 19:19:01 +0000 (19:19 +0000)]
synced to 1.0

21 years agosynced to 1.0
Christian Bauer [Thu, 21 Nov 2002 23:05:36 +0000 (23:05 +0000)]
synced to 1.0

22 years ago- synced to 1.0 (gammaL/R)
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

22 years agosynced to 1.0
Christian Bauer [Wed, 20 Nov 2002 20:43:51 +0000 (20:43 +0000)]
synced to 1.0

22 years agodocumentation update
Christian Bauer [Wed, 20 Nov 2002 20:43:45 +0000 (20:43 +0000)]
documentation update

22 years agosynced to 1.0
Christian Bauer [Sun, 10 Nov 2002 22:11:18 +0000 (22:11 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Wed, 6 Nov 2002 20:11:06 +0000 (20:11 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Tue, 5 Nov 2002 17:50:20 +0000 (17:50 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Tue, 29 Oct 2002 19:03:35 +0000 (19:03 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Fri, 25 Oct 2002 18:44:14 +0000 (18:44 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Fri, 25 Oct 2002 18:17:47 +0000 (18:17 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Thu, 24 Oct 2002 21:06:40 +0000 (21:06 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Thu, 24 Oct 2002 18:14:55 +0000 (18:14 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Thu, 17 Oct 2002 18:36:23 +0000 (18:36 +0000)]
synced to 1.0

22 years agoRedone the way in which function serial numbers are stored. This allows for
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...

22 years agosynced to 1.0
Christian Bauer [Wed, 16 Oct 2002 17:57:12 +0000 (17:57 +0000)]
synced to 1.0

22 years agoscalar_products allows the specification of an index dimension, e.g. to
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

22 years agodocumentation update
Christian Bauer [Wed, 9 Oct 2002 20:11:12 +0000 (20:11 +0000)]
documentation update

22 years ago* Documentation update.
Richard Kreckel [Thu, 3 Oct 2002 19:51:38 +0000 (19:51 +0000)]
* Documentation update.

22 years ago* lsolve(): Fix type of last argument (oops).
Richard Kreckel [Thu, 3 Oct 2002 19:51:07 +0000 (19:51 +0000)]
* lsolve(): Fix type of last argument (oops).

22 years ago* irem(), iquo(): throw an exception, when second argument vanishes.
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().

22 years ago* Update for Doxygen 1.2.18 (includes .gif to .png conversion).
Richard Kreckel [Fri, 27 Sep 2002 21:29:22 +0000 (21:29 +0000)]
* Update for Doxygen 1.2.18 (includes .gif to .png conversion).

22 years ago* numeric::print(): increase precision for C source output.
Richard Kreckel [Mon, 23 Sep 2002 19:46:18 +0000 (19:46 +0000)]
* numeric::print(): increase precision for C source output.

22 years agosynced to 1.0
Christian Bauer [Wed, 18 Sep 2002 17:18:13 +0000 (17:18 +0000)]
synced to 1.0

22 years ago* Fix comment.
Richard Kreckel [Wed, 18 Sep 2002 17:06:48 +0000 (17:06 +0000)]
* Fix comment.

22 years ago* Fix CLN output of a-2. (Chris Dams)
Richard Kreckel [Wed, 18 Sep 2002 17:06:12 +0000 (17:06 +0000)]
* Fix CLN output of a-2.  (Chris Dams)

22 years ago* Fix citation. (The arctan formula for Pi is due to John Machin and
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.)

22 years ago* Fix broken C output. (Chris Dams)
Richard Kreckel [Mon, 2 Sep 2002 20:43:08 +0000 (20:43 +0000)]
* Fix broken C output.  (Chris Dams)

22 years ago* Fix CLN output of -2*a-2*b. (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)

22 years agosynced to 1.0
Christian Bauer [Wed, 7 Aug 2002 21:47:49 +0000 (21:47 +0000)]
synced to 1.0

22 years ago* Add virtual method remove_all() to the containers (by Roberto Bagnara).
Richard Kreckel [Mon, 5 Aug 2002 22:03:01 +0000 (22:03 +0000)]
* Add virtual method remove_all() to the containers (by Roberto Bagnara).

22 years ago* Synced to 1.0.
Richard Kreckel [Mon, 5 Aug 2002 21:38:42 +0000 (21:38 +0000)]
* Synced to 1.0.

22 years ago* Synced to 1.0.
Richard Kreckel [Thu, 25 Jul 2002 14:49:57 +0000 (14:49 +0000)]
* Synced to 1.0.

22 years agosynced to 1.0
Christian Bauer [Wed, 24 Jul 2002 20:20:08 +0000 (20:20 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Mon, 22 Jul 2002 20:33:13 +0000 (20:33 +0000)]
synced to 1.0

22 years agosynced to 1.0
Christian Bauer [Thu, 18 Jul 2002 21:56:54 +0000 (21:56 +0000)]
synced to 1.0

22 years agosynced to 1.0 (tens4delta and mink4metric replaced by the new index dimension
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)

22 years agosynced to 1.0
Christian Bauer [Thu, 18 Jul 2002 20:08:09 +0000 (20:08 +0000)]
synced to 1.0

22 years agosynced to 1.0 (for real this time...)
Christian Bauer [Mon, 8 Jul 2002 21:49:48 +0000 (21:49 +0000)]
synced to 1.0 (for real this time...)

22 years agomoved even more duplicated code to the 'tensor' class
Christian Bauer [Mon, 8 Jul 2002 21:07:33 +0000 (21:07 +0000)]
moved even more duplicated code to the 'tensor' class

22 years agosynced to 1.0 with respect to dummy index repositioning
Christian Bauer [Mon, 8 Jul 2002 19:19:17 +0000 (19:19 +0000)]
synced to 1.0 with respect to dummy index repositioning

22 years ago* Include the operators.h header file in the source files, not in ex.h.
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.

22 years ago* Enable tests N, Q and Q' by default.
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.   ;-)

22 years ago* Include the operators.h header file in the source files, not in ex.h.
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.

22 years agosynced to 1.0
Christian Bauer [Wed, 3 Jul 2002 20:51:04 +0000 (20:51 +0000)]
synced to 1.0

22 years agoimplemented 4-dimensional delta, metric and epsilon tensors
Christian Bauer [Mon, 1 Jul 2002 17:51:25 +0000 (17:51 +0000)]
implemented 4-dimensional delta, metric and epsilon tensors

22 years agosynced to 1.0
Christian Bauer [Mon, 10 Jun 2002 21:48:39 +0000 (21:48 +0000)]
synced to 1.0

22 years agomentioned the imaginary unit 'I'
Christian Bauer [Mon, 13 May 2002 20:22:25 +0000 (20:22 +0000)]
mentioned the imaginary unit 'I'

22 years ago* Sync 1.1 branch to 1.0 mainline.
Christian Bauer [Thu, 2 May 2002 21:38:57 +0000 (21:38 +0000)]
* Sync 1.1 branch to 1.0 mainline.

22 years ago* rotate_left(): rewrite to help compiler make use of rol insns.
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.

22 years ago* Oops, a FIXME has crept into the last commit.
Richard Kreckel [Wed, 1 May 2002 21:09:30 +0000 (21:09 +0000)]
* Oops, a FIXME has crept into the last commit.

22 years ago* Globalize the hash-value-space.
Richard Kreckel [Tue, 30 Apr 2002 23:42:41 +0000 (23:42 +0000)]
* Globalize the hash-value-space.

22 years ago* basic::compare(const basic&): Rearrange in a more compact fashion.
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.)

22 years ago* expairseq::calchash(): Remove one superfluous rotation.
Richard Kreckel [Wed, 10 Apr 2002 20:02:56 +0000 (20:02 +0000)]
* expairseq::calchash(): Remove one superfluous rotation.

22 years ago* numeric::calchash(): Apply golden_ratio_hash() to the value returned
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.)

22 years ago* Added documentation for the add_dyn(), mul_dyn()... methods.
Richard Kreckel [Tue, 9 Apr 2002 21:17:06 +0000 (21:17 +0000)]
* Added documentation for the add_dyn(), mul_dyn()... methods.

22 years ago* Bump up repetitions since these tests have turned out to be very useful
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.

22 years ago* beta(1,x) evaluates to 1/x.
Richard Kreckel [Thu, 28 Mar 2002 19:38:32 +0000 (19:38 +0000)]
* beta(1,x) evaluates to 1/x.

22 years ago* mul::expand(): Fix bug in aggressive version of expansion of two sums
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.

22 years ago* Clean up the output of all timings to stderr.
Richard Kreckel [Thu, 28 Mar 2002 15:38:37 +0000 (15:38 +0000)]
* Clean up the output of all timings to stderr.

22 years ago* mul::expand() (mul.cpp): When multiplying two sums, be careful not to
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.

22 years ago* expairseq::combine_same_terms_sorted_seq() (expairseq.cpp): make this
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.  ;-)

22 years ago* (time_fateman_expand.cpp): new file.
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.

22 years ago* expairseq::expairseq(const epvector&, const ex& oc) (expairseq.cpp):
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.

22 years ago* power::expand_add(): allocate the precise amount needed for representing
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...

22 years ago* Don't push void to static Bernoulli vector, it breaks with GCC-3.1.
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.

22 years agosynced with main branch
Christian Bauer [Wed, 27 Mar 2002 21:27:21 +0000 (21:27 +0000)]
synced with main branch

22 years ago* Add namespace declarators to is_ex_the_function().
Richard Kreckel [Sun, 24 Mar 2002 19:11:36 +0000 (19:11 +0000)]
* Add namespace declarators to is_ex_the_function().

22 years ago* Remove " syntax for the execution stack.
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.)

22 years ago* Adjust to up-to-date compiler landscape.
Richard Kreckel [Fri, 8 Mar 2002 23:05:29 +0000 (23:05 +0000)]
* Adjust to up-to-date compiler landscape.

22 years ago* Removed deprecated macros is_ex_a, is_ex_exactly_a and friends.
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.

22 years ago* Sync 1.1 branch to 1.0 mainline.
Christian Bauer [Fri, 8 Mar 2002 21:21:25 +0000 (21:21 +0000)]
* Sync 1.1 branch to 1.0 mainline.

22 years ago Sync branch:
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).

22 years ago* Shlib bumps.
Richard Kreckel [Mon, 4 Mar 2002 20:21:17 +0000 (20:21 +0000)]
* Shlib bumps.

22 years ago* Sync 1.1 branch to 1.0 mainline.
Richard Kreckel [Mon, 4 Mar 2002 20:20:54 +0000 (20:20 +0000)]
* Sync 1.1 branch to 1.0 mainline.

22 years ago* 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.

22 years agomerged from 1.0 branch
Christian Bauer [Wed, 30 Jan 2002 19:32:49 +0000 (19:32 +0000)]
merged from 1.0 branch

22 years ago* Apply safe-bool patch.
Richard Kreckel [Sun, 27 Jan 2002 17:35:11 +0000 (17:35 +0000)]
* Apply safe-bool patch.

22 years ago* Sync 1.1 branch to 1.0 mainline.
Richard Kreckel [Sun, 27 Jan 2002 16:32:27 +0000 (16:32 +0000)]
* Sync 1.1 branch to 1.0 mainline.

22 years ago* Add Roberto Bagnara.
Richard Kreckel [Sat, 26 Jan 2002 16:29:52 +0000 (16:29 +0000)]
* Add Roberto Bagnara.

22 years ago* numeric::print(): Treat imaginary numbers correctly.
Richard Kreckel [Sat, 26 Jan 2002 16:29:42 +0000 (16:29 +0000)]
* numeric::print(): Treat imaginary numbers correctly.

22 years ago- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
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).

22 years ago* Finilize version 1.0.4 (version numbers, copyrights and such rubbish). release_1-0-4
Richard Kreckel [Fri, 25 Jan 2002 01:28:01 +0000 (01:28 +0000)]
* Finilize version 1.0.4 (version numbers, copyrights and such rubbish).

22 years ago* mul::expand(): Considerable speedup through caching in nested loop.
Richard Kreckel [Fri, 25 Jan 2002 00:03:44 +0000 (00:03 +0000)]
* mul::expand(): Considerable speedup through caching in nested loop.

22 years ago* bernoulli(): Add Markus Nullmeier's new implementation.
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.