]> www.ginac.de Git - ginac.git/log
ginac.git
21 years agominor cleanups
Christian Bauer [Fri, 6 Jun 2003 20:10:22 +0000 (20:10 +0000)]
minor cleanups

21 years agoremoved redundant destructors, copy constructors, and assignment operators
Christian Bauer [Mon, 2 Jun 2003 20:18:23 +0000 (20:18 +0000)]
removed redundant destructors, copy constructors, and assignment operators

21 years ago* numeric::power(): try harder finding unit exponents.
Richard Kreckel [Wed, 21 May 2003 02:46:55 +0000 (02:46 +0000)]
* numeric::power(): try harder finding unit exponents.
* numeric::power_dyn(): likewise.

21 years ago- added lst/exprseq constructor that takes to exvector iterators
Christian Bauer [Mon, 19 May 2003 21:28:44 +0000 (21:28 +0000)]
- added lst/exprseq constructor that takes to exvector iterators
- dummy index symmetrization slightly more efficient (uses exvector instead
  of lst)

21 years agoadded an example using copy() to output the elements of a lst
Christian Bauer [Mon, 19 May 2003 21:27:37 +0000 (21:27 +0000)]
added an example using copy() to output the elements of a lst

21 years agolst now provides (read-only) iterator types, the use of which makes iterating
Christian Bauer [Mon, 19 May 2003 18:21:43 +0000 (18:21 +0000)]
lst now provides (read-only) iterator types, the use of which makes iterating
over the elements of a lst an operation of order O(N), instead of O(N^2) when
using nops()/op(); this should speed up subs()

21 years agosynced to 1.0
Christian Bauer [Tue, 6 May 2003 17:51:03 +0000 (17:51 +0000)]
synced to 1.0

21 years agosynced to 1.0
Christian Bauer [Wed, 30 Apr 2003 19:50:31 +0000 (19:50 +0000)]
synced to 1.0

21 years agoupdated for debian/sarge
Christian Bauer [Fri, 4 Apr 2003 22:21:59 +0000 (22:21 +0000)]
updated for debian/sarge

21 years agofinal (?) update for 1.1 release_1-1-0
Christian Bauer [Thu, 3 Apr 2003 21:14:32 +0000 (21:14 +0000)]
final (?) update for 1.1

21 years agofunction name is printed in the warning about mismatched number of parameters
Christian Bauer [Thu, 27 Mar 2003 20:06:43 +0000 (20:06 +0000)]
function name is printed in the warning about mismatched number of parameters

21 years agoadded missing namespace qualifiers to macros
Christian Bauer [Thu, 27 Mar 2003 20:01:02 +0000 (20:01 +0000)]
added missing namespace qualifiers to macros

21 years ago- added stream manipulators index_dimensions and no_index_dimensions
Christian Bauer [Wed, 26 Mar 2003 19:59:47 +0000 (19:59 +0000)]
- added stream manipulators index_dimensions and no_index_dimensions
- using print() and print_context (and derived classes) in user code is now
  deprecated in favor of the manipulators
- print_options moved from flags.h to print.h
- a symbol that appears multiple times in archives but is not listed in the
  sym_lst passed to unarchive_ex() now receives the same serial number in
  all occurrences, so GiNaC will treat it as one and the same symbol; this
  made it necessary to remove the "const" from the second argument of
  basic::unarchive() and the unarchiving constructor

21 years agoupdated "expression output" chapter to explain manipulators instead of
Christian Bauer [Wed, 26 Mar 2003 19:54:09 +0000 (19:54 +0000)]
updated "expression output" chapter to explain manipulators instead of
print() and print_context

21 years agoreplaced calls of printtree()
Christian Bauer [Wed, 26 Mar 2003 19:53:09 +0000 (19:53 +0000)]
replaced calls of printtree()

21 years agodocumentation update
Christian Bauer [Wed, 26 Mar 2003 19:52:55 +0000 (19:52 +0000)]
documentation update

21 years agoadded some iostream magic, so it's now possible to say "cout << latex << e << endl...
Christian Bauer [Wed, 26 Mar 2003 01:47:03 +0000 (01:47 +0000)]
added some iostream magic, so it's now possible to say "cout << latex << e << endl;" etc.

21 years agosimplified_ncmul() -> hold_ncmul()
Christian Bauer [Mon, 24 Mar 2003 17:50:06 +0000 (17:50 +0000)]
simplified_ncmul() -> hold_ncmul()
nonsimplified_ncmul() -> reeval_ncmul()

21 years agosynced to 1.0
Christian Bauer [Mon, 24 Mar 2003 17:19:09 +0000 (17:19 +0000)]
synced to 1.0

21 years agoadded docs for to_polynomial()
Christian Bauer [Wed, 19 Mar 2003 21:26:24 +0000 (21:26 +0000)]
added docs for to_polynomial()

21 years agodocumentation update
Christian Bauer [Wed, 19 Mar 2003 21:26:10 +0000 (21:26 +0000)]
documentation update

21 years agosynced to 1.0
Christian Bauer [Wed, 5 Mar 2003 22:30:42 +0000 (22:30 +0000)]
synced to 1.0

21 years agosubs_algebraic enters subexpressions
Christian Bauer [Wed, 5 Mar 2003 18:12:56 +0000 (18:12 +0000)]
subs_algebraic enters subexpressions

21 years agoreturn type and parameter type of nops() and op()/let_op() (respectively) is
Christian Bauer [Tue, 4 Mar 2003 23:59:06 +0000 (23:59 +0000)]
return type and parameter type of nops() and op()/let_op() (respectively) is
now a size_t

21 years agodisabled check (I'm impatient...)
Christian Bauer [Tue, 4 Mar 2003 23:58:23 +0000 (23:58 +0000)]
disabled check (I'm impatient...)

21 years ago- fixed some compiler warnings
Christian Bauer [Tue, 4 Mar 2003 22:15:56 +0000 (22:15 +0000)]
- fixed some compiler warnings
- removed obsolete code

21 years agofixed some compiler warnings
Christian Bauer [Tue, 4 Mar 2003 22:15:47 +0000 (22:15 +0000)]
fixed some compiler warnings

21 years agodocumentation update
Christian Bauer [Sat, 1 Mar 2003 21:16:25 +0000 (21:16 +0000)]
documentation update

21 years agodocumentation update
Christian Bauer [Fri, 28 Feb 2003 21:08:36 +0000 (21:08 +0000)]
documentation update

21 years agosome cleanups
Christian Bauer [Fri, 28 Feb 2003 20:51:35 +0000 (20:51 +0000)]
some cleanups

21 years agosynced to 1.0
Christian Bauer [Thu, 27 Feb 2003 21:22:57 +0000 (21:22 +0000)]
synced to 1.0

21 years ago'x+I' was missing the plus sign in the C source output
Christian Bauer [Thu, 20 Feb 2003 22:40:45 +0000 (22:40 +0000)]
'x+I' was missing the plus sign in the C source output

21 years agosynced to 1.0
Christian Bauer [Thu, 20 Feb 2003 21:33:12 +0000 (21:33 +0000)]
synced to 1.0

21 years agosynced to 1.0
Christian Bauer [Thu, 20 Feb 2003 21:17:42 +0000 (21:17 +0000)]
synced to 1.0

21 years agolet_op() is no longer the default implementation of op(). Rationale: let_op()
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.

21 years ago- added non-const operator[]
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()

21 years agosynced to 1.0
Christian Bauer [Wed, 19 Feb 2003 23:32:50 +0000 (23:32 +0000)]
synced to 1.0

21 years ago*** empty log message ***
Christian Bauer [Wed, 19 Feb 2003 23:13:10 +0000 (23:13 +0000)]
*** empty log message ***

21 years agosynced to 1.0
Christian Bauer [Wed, 19 Feb 2003 23:13:04 +0000 (23:13 +0000)]
synced to 1.0

21 years agodimension in dirac gamma contractions was miscalculated
Christian Bauer [Wed, 5 Feb 2003 23:03:17 +0000 (23:03 +0000)]
dimension in dirac gamma contractions was miscalculated

21 years agosynced to 1.0
Christian Bauer [Wed, 5 Feb 2003 22:47:12 +0000 (22:47 +0000)]
synced to 1.0

21 years agodocumentation update
Christian Bauer [Wed, 5 Feb 2003 22:33:10 +0000 (22:33 +0000)]
documentation update

21 years agodummy index renamer uses smaller set of global indices
Christian Bauer [Tue, 4 Feb 2003 19:20:04 +0000 (19:20 +0000)]
dummy index renamer uses smaller set of global indices

21 years agodummy index renamer ignores index dimensions
Christian Bauer [Tue, 4 Feb 2003 19:11:37 +0000 (19:11 +0000)]
dummy index renamer ignores index dimensions

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