ginac.git
15 years agoHappy New Year!
Christian Bauer [Thu, 8 Jan 2004 18:06:37 +0000 (18:06 +0000)]
Happy New Year!

15 years agoUpdated remarks on harmonic polylog.
Jens Vollinga [Wed, 7 Jan 2004 16:03:57 +0000 (16:03 +0000)]
Updated remarks on harmonic polylog.

15 years agoadded online help for conjugate()
Christian Bauer [Tue, 6 Jan 2004 20:58:38 +0000 (20:58 +0000)]
added online help for conjugate()

15 years ago- fixed LaTeX output of conjugate()
Christian Bauer [Tue, 6 Jan 2004 20:58:26 +0000 (20:58 +0000)]
- fixed LaTeX output of conjugate()
- symbol::info() answers to info_flags::real

15 years agoAdded check for harmonic polylog.
Jens Vollinga [Tue, 6 Jan 2004 18:38:45 +0000 (18:38 +0000)]
Added check for harmonic polylog.

15 years agoFixed bug in harmonic polylogs for complex arguments with positive imaginary part.
Jens Vollinga [Tue, 6 Jan 2004 18:38:10 +0000 (18:38 +0000)]
Fixed bug in harmonic polylogs for complex arguments with positive imaginary part.

15 years agoAdded log(exp(x)) -> x for real symbols.
Jens Vollinga [Sun, 4 Jan 2004 16:51:08 +0000 (16:51 +0000)]
Added log(exp(x)) -> x for real symbols.

15 years agoAdd remark about complex conjugation.
Jens Vollinga [Sun, 4 Jan 2004 16:17:46 +0000 (16:17 +0000)]
Add remark about complex conjugation.

15 years agoAdded keywords "complex_symbols" and "real_symbols" to influence symbol production.
Jens Vollinga [Sun, 4 Jan 2004 16:13:56 +0000 (16:13 +0000)]
Added keywords "complex_symbols" and "real_symbols" to influence symbol production.

15 years ago* Added complex conjugation methods and GiNaC function "conjugate".
Jens Vollinga [Sun, 4 Jan 2004 16:12:40 +0000 (16:12 +0000)]
* Added complex conjugation methods and GiNaC function "conjugate".
* Data member "value" now is cln::cl_N.

15 years agoAdded complex conjugation methods and GiNaC function "conjugate".
Jens Vollinga [Sun, 4 Jan 2004 16:11:45 +0000 (16:11 +0000)]
Added complex conjugation methods and GiNaC function "conjugate".

15 years ago* Mention our convention degree(0) == 0.
Richard Kreckel [Thu, 1 Jan 2004 18:06:32 +0000 (18:06 +0000)]
* Mention our convention degree(0) == 0.

15 years agofixed a bug (placement of opening brace of class definitions)
Christian Bauer [Wed, 31 Dec 2003 19:45:59 +0000 (19:45 +0000)]
fixed a bug (placement of opening brace of class definitions)

15 years ago* Sync to 1-1.
Richard Kreckel [Sat, 20 Dec 2003 00:47:28 +0000 (00:47 +0000)]
* Sync to 1-1.

15 years agoRemoved debugging code.
Jens Vollinga [Fri, 19 Dec 2003 17:40:08 +0000 (17:40 +0000)]
Removed debugging code.

15 years agoFixed bug in convergence check with complex arguments.
Jens Vollinga [Fri, 19 Dec 2003 17:37:14 +0000 (17:37 +0000)]
Fixed bug in convergence check with complex arguments.

15 years ago* s/LFLAGS/AM_LFLAGS/, s/YFLAGS/AM_YFLAGS/.
Richard Kreckel [Fri, 19 Dec 2003 01:28:01 +0000 (01:28 +0000)]
* s/LFLAGS/AM_LFLAGS/, s/YFLAGS/AM_YFLAGS/.

15 years ago* s/LFLAGS/AM_LFLAGS/.
Richard Kreckel [Fri, 19 Dec 2003 01:27:31 +0000 (01:27 +0000)]
* s/LFLAGS/AM_LFLAGS/.

15 years agosome attempts to squeeze performance out of mul::expand()
Christian Bauer [Thu, 18 Dec 2003 18:33:01 +0000 (18:33 +0000)]
some attempts to squeeze performance out of mul::expand()

15 years ago1/1/e expanded e but shouldn't
Christian Bauer [Tue, 16 Dec 2003 17:52:06 +0000 (17:52 +0000)]
1/1/e expanded e but shouldn't

15 years agoadded more checks for expand()
Christian Bauer [Sat, 13 Dec 2003 19:04:38 +0000 (19:04 +0000)]
added more checks for expand()

15 years agofixed omission in power::expand()
Christian Bauer [Sat, 13 Dec 2003 19:03:02 +0000 (19:03 +0000)]
fixed omission in power::expand()

15 years agooptimization to ex::expand()
Christian Bauer [Thu, 11 Dec 2003 21:16:55 +0000 (21:16 +0000)]
optimization to ex::expand()

15 years agoSynced to HEAD.
Jens Vollinga [Thu, 11 Dec 2003 20:52:59 +0000 (20:52 +0000)]
Synced to HEAD.

15 years agosynced to 1.1 (expand() problem)
Christian Bauer [Thu, 11 Dec 2003 20:34:04 +0000 (20:34 +0000)]
synced to 1.1 (expand() problem)

15 years agohash keys of indices must not depend on the index dimension; doing so breaks
Christian Bauer [Thu, 11 Dec 2003 18:57:50 +0000 (18:57 +0000)]
hash keys of indices must not depend on the index dimension; doing so breaks
the ordering of dummy indices that simplify_index() depends on

16 years ago* Fix some spellos.
Richard Kreckel [Wed, 10 Dec 2003 01:41:28 +0000 (01:41 +0000)]
* Fix some spellos.

16 years agoSynced to HEAD.
Jens Vollinga [Mon, 8 Dec 2003 18:20:40 +0000 (18:20 +0000)]
Synced to HEAD.

16 years ago* Improved exams for S
Jens Vollinga [Mon, 1 Dec 2003 23:03:07 +0000 (23:03 +0000)]
* Improved exams for S
* Added exams for zeta, H and Li

16 years agoFixed severe bug that caused Li and S to hang for certain parameters
Jens Vollinga [Mon, 1 Dec 2003 23:02:16 +0000 (23:02 +0000)]
Fixed severe bug that caused Li and S to hang for certain parameters

16 years agoFixed {} bug
Jens Vollinga [Mon, 1 Dec 2003 21:03:15 +0000 (21:03 +0000)]
Fixed {} bug

16 years ago* Fixed bug in convert_H_to_Li()
Jens Vollinga [Mon, 1 Dec 2003 18:03:56 +0000 (18:03 +0000)]
* Fixed bug in convert_H_to_Li()
* Removed safety check in convert_parameter_H_to_Li()

16 years agoUpdated documentation for multiple polylogarithms
Jens Vollinga [Mon, 1 Dec 2003 17:39:21 +0000 (17:39 +0000)]
Updated documentation for multiple polylogarithms

16 years ago* Fixed bug in example
Jens Vollinga [Mon, 1 Dec 2003 01:16:17 +0000 (01:16 +0000)]
* Fixed bug in example

16 years ago* eval() now completed for every function
Jens Vollinga [Mon, 1 Dec 2003 00:51:19 +0000 (00:51 +0000)]
* eval() now completed for every function
* Fixed deriv of H and zeta
* Fixed alignment/indentation, some code face-lifting

16 years ago* Removed convert_H_notation, added convert_H_to_Li
Jens Vollinga [Sat, 29 Nov 2003 17:33:47 +0000 (17:33 +0000)]
* Removed convert_H_notation, added convert_H_to_Li

16 years ago* Removed H(m,s,x)
Jens Vollinga [Sat, 29 Nov 2003 17:33:41 +0000 (17:33 +0000)]
* Removed H(m,s,x)
* H(m,s) now handles also negative parameters in RV notation
* H uses now x -> (1-x)/(1+x) transformation
* Removed convert_H_notation, added convert_H_to_Li
* Using the new printing options every function now has a nice LaTeX output

16 years agofixed typo
Christian Bauer [Thu, 20 Nov 2003 19:59:07 +0000 (19:59 +0000)]
fixed typo

16 years agoremoved "ginac" from includedir (as in ginac-config)
Christian Bauer [Thu, 20 Nov 2003 19:56:46 +0000 (19:56 +0000)]
removed "ginac" from includedir (as in ginac-config)

16 years agoadded pkg-config support
Christian Bauer [Thu, 20 Nov 2003 19:18:27 +0000 (19:18 +0000)]
added pkg-config support

16 years agofderivative wasn't printed correctly
Christian Bauer [Thu, 20 Nov 2003 17:53:46 +0000 (17:53 +0000)]
fderivative wasn't printed correctly

16 years ago* Made function "convert_H_notation" available to ginsh
Jens Vollinga [Tue, 18 Nov 2003 20:18:35 +0000 (20:18 +0000)]
* Made function "convert_H_notation" available to ginsh

16 years ago* Added harmonic polylog with signed parameters as H(m,s,x)
Jens Vollinga [Tue, 18 Nov 2003 20:18:02 +0000 (20:18 +0000)]
* Added harmonic polylog with signed parameters as H(m,s,x)
* Added function "convert_H_notation" to deal with Remiddi/Vermaseren notation

16 years agoadded a do-nothing function option "dummy()" to simplify the creation of
Christian Bauer [Tue, 18 Nov 2003 20:11:39 +0000 (20:11 +0000)]
added a do-nothing function option "dummy()" to simplify the creation of
functions without any eval(), evalf() etc. options

16 years agomention the "dummy()" function option
Christian Bauer [Tue, 18 Nov 2003 20:10:33 +0000 (20:10 +0000)]
mention the "dummy()" function option

16 years agoadded example for namespace bracing
Christian Bauer [Tue, 18 Nov 2003 20:10:19 +0000 (20:10 +0000)]
added example for namespace bracing

16 years ago* Fixed bug in zeta(m,s).
Jens Vollinga [Tue, 18 Nov 2003 15:15:10 +0000 (15:15 +0000)]
* Fixed bug in zeta(m,s).
* Li({},{}) has improved sum-loop now.

16 years ago* Removed mZeta
Jens Vollinga [Mon, 17 Nov 2003 22:18:02 +0000 (22:18 +0000)]
* Removed mZeta
* Relaxed convergence check for multiple polylog
* Implemented alternating Euler sums as zeta(m,s)

16 years ago* zeta(n,x) is now zetaderiv(n,s)
Jens Vollinga [Mon, 17 Nov 2003 22:16:08 +0000 (22:16 +0000)]
* zeta(n,x) is now zetaderiv(n,s)

16 years ago* Indentation^WAligment fix. ;-)
Richard Kreckel [Sun, 9 Nov 2003 01:23:35 +0000 (01:23 +0000)]
* Indentation^WAligment fix.  ;-)

16 years agoAdded a document about the coding conventions used in GiNaC. Corrections,
Christian Bauer [Sat, 8 Nov 2003 22:03:22 +0000 (22:03 +0000)]
Added a document about the coding conventions used in GiNaC. Corrections,
additions, and suggestions are welcome.

16 years agoSynced changes to HEAD.
Jens Vollinga [Mon, 3 Nov 2003 21:04:29 +0000 (21:04 +0000)]
Synced changes to HEAD.

16 years agoSynced nested sums functions documentation to HEAD
Jens Vollinga [Mon, 3 Nov 2003 21:03:44 +0000 (21:03 +0000)]
Synced nested sums functions documentation to HEAD

16 years agodocumentation update
Christian Bauer [Mon, 3 Nov 2003 20:39:08 +0000 (20:39 +0000)]
documentation update

16 years agoadded a section on adding new output formats
Christian Bauer [Mon, 3 Nov 2003 18:21:51 +0000 (18:21 +0000)]
added a section on adding new output formats

16 years agolocation of C++ FAQ Lite has changed
Christian Bauer [Thu, 30 Oct 2003 22:17:29 +0000 (22:17 +0000)]
location of C++ FAQ Lite has changed

16 years agoadded an "options" parameter to simplify_indexed(), for future extensions
Christian Bauer [Mon, 20 Oct 2003 19:54:21 +0000 (19:54 +0000)]
added an "options" parameter to simplify_indexed(), for future extensions

16 years agoadded docs for new-style printing system
Christian Bauer [Fri, 17 Oct 2003 20:10:57 +0000 (20:10 +0000)]
added docs for new-style printing system

16 years agosynced to 1.1
Christian Bauer [Fri, 17 Oct 2003 00:29:59 +0000 (00:29 +0000)]
synced to 1.1

16 years ago* Dox fix.
Richard Kreckel [Tue, 14 Oct 2003 00:23:44 +0000 (00:23 +0000)]
* Dox fix.

16 years ago* Made use of new operator, when constructing test matrices.
Richard Kreckel [Mon, 13 Oct 2003 02:10:00 +0000 (02:10 +0000)]
* Made use of new operator, when constructing test matrices.
* Added (but left disabled) Lewis' and Wester's test O2.

16 years ago* Multiplication by 4 is easier than by 25/4. ;-)
Richard Kreckel [Mon, 13 Oct 2003 02:06:16 +0000 (02:06 +0000)]
* Multiplication by 4 is easier than by 25/4.  ;-)

16 years ago* time_lw_H.cpp (test): Simplification of Hilbert determinant formula.
Richard Kreckel [Mon, 13 Oct 2003 01:43:03 +0000 (01:43 +0000)]
* time_lw_H.cpp (test): Simplification of Hilbert determinant formula.

16 years ago* All your dependent bases are... D'Oh!
Richard Kreckel [Sun, 12 Oct 2003 23:49:09 +0000 (23:49 +0000)]
* All your dependent bases are... D'Oh!

16 years ago* times.cpp (randomify_symbol_serials): New.
Richard Kreckel [Sun, 12 Oct 2003 14:18:49 +0000 (14:18 +0000)]
* times.cpp (randomify_symbol_serials): New.

16 years ago* Some of your (dependent) bases are belong to somebody else. :-(
Richard Kreckel [Sun, 12 Oct 2003 14:04:41 +0000 (14:04 +0000)]
* Some of your (dependent) bases are belong to somebody else.   :-(

16 years ago* All your dependent bases are belong to us!
Richard Kreckel [Sun, 12 Oct 2003 02:38:26 +0000 (02:38 +0000)]
* All your dependent bases are belong to us!

16 years ago* All your dependent bases are belong to us!
Richard Kreckel [Sun, 12 Oct 2003 01:44:19 +0000 (01:44 +0000)]
* All your dependent bases are belong to us!

16 years agocompare(ex(0)) -> is_zero()
Christian Bauer [Thu, 9 Oct 2003 21:07:36 +0000 (21:07 +0000)]
compare(ex(0)) -> is_zero()

16 years agoadded insert(iterator, value_type)
Christian Bauer [Wed, 1 Oct 2003 17:42:54 +0000 (17:42 +0000)]
added insert(iterator, value_type)

16 years agoSynced to 1.1
Jens Vollinga [Tue, 30 Sep 2003 21:50:02 +0000 (21:50 +0000)]
Synced to 1.1

16 years agoImplemented the Blitz++ trick to allow the initialization of lists and matrices
Christian Bauer [Tue, 30 Sep 2003 19:58:59 +0000 (19:58 +0000)]
Implemented the Blitz++ trick to allow the initialization of lists and matrices
from comma-separated sequences of expressions, like this:

  lst l;
  l = x, 2, y, x+y;

  matrix M(3, 3);
  M = x, y, 0,
     -y, x, 0,
      0, 0, 1;

This is both faster and produces much smaller code than the old constructors
lst(ex, ex, ...) and matrix(unsigned, unsigned, lst), especially in the case
of matrices, and is now the recommended way to create these objects.

16 years agoparallel build uses NCPU jobs instead of NCPU+1
Christian Bauer [Mon, 29 Sep 2003 17:30:11 +0000 (17:30 +0000)]
parallel build uses NCPU jobs instead of NCPU+1

16 years agoSynced to 1.1
Jens Vollinga [Mon, 29 Sep 2003 17:25:29 +0000 (17:25 +0000)]
Synced to 1.1

16 years agotidied up ex::subs()
Christian Bauer [Thu, 18 Sep 2003 19:35:47 +0000 (19:35 +0000)]
tidied up ex::subs()

16 years ago* ginsh_input(): Modern versions of flex want us to use the macro
Richard Kreckel [Sat, 6 Sep 2003 01:11:58 +0000 (01:11 +0000)]
* ginsh_input(): Modern versions of flex want us to use the macro
  YY_CURRENT_BUFFER instead of accessing yy_current_buffer directly.
  (I'm not sure about the preprocessor conditional, but asking whether
  YY_CURRENT_BUFFER is defined appears to be the most natural strategy.)

16 years agoImproved the pre-/postorder iterators: They visit the root node and are now
Christian Bauer [Fri, 5 Sep 2003 19:58:11 +0000 (19:58 +0000)]
Improved the pre-/postorder iterators: They visit the root node and are now
only marginally slower than a recursive function like traverse(). The only
remaining problem is that for an expression consisting of only one primitive
object, ex::begin() and ex::end() return the same value, so the iteration
immediately stops without visiting the one existing node. We probably need
special versions of begin()/end() for creating pre-/postorder iterators after
all.

16 years agoadded a note about expressions in STL containers
Christian Bauer [Thu, 4 Sep 2003 18:31:09 +0000 (18:31 +0000)]
added a note about expressions in STL containers

16 years agomention the subs(exmap &) form
Christian Bauer [Thu, 4 Sep 2003 18:01:09 +0000 (18:01 +0000)]
mention the subs(exmap &) form

16 years agodocumentation update
Christian Bauer [Thu, 4 Sep 2003 18:00:59 +0000 (18:00 +0000)]
documentation update

16 years agothe old methods of ex remain for compatibility
Christian Bauer [Thu, 4 Sep 2003 18:00:16 +0000 (18:00 +0000)]
the old methods of ex remain for compatibility

16 years agominor optimizations to ex::subs()
Christian Bauer [Wed, 3 Sep 2003 18:18:34 +0000 (18:18 +0000)]
minor optimizations to ex::subs()

16 years agoimplemented operator-> for the iterators
Christian Bauer [Wed, 3 Sep 2003 18:18:15 +0000 (18:18 +0000)]
implemented operator-> for the iterators

16 years agoadded some words of warning to ex_to<>()
Christian Bauer [Tue, 2 Sep 2003 20:01:55 +0000 (20:01 +0000)]
added some words of warning to ex_to<>()

16 years ago- added missing #include <stdexcept>
Christian Bauer [Tue, 2 Sep 2003 19:59:12 +0000 (19:59 +0000)]
- added missing #include <stdexcept>
- reduced the amount of inlining a little

16 years agosynced to 1.1
Christian Bauer [Tue, 2 Sep 2003 18:29:06 +0000 (18:29 +0000)]
synced to 1.1

16 years agoAdded const_iterator, const_preorder_iterator, const_postorder_iterator. The
Christian Bauer [Fri, 29 Aug 2003 21:29:14 +0000 (21:29 +0000)]
Added const_iterator, const_preorder_iterator, const_postorder_iterator. The
pre-/postorder iterators don't visit the root node; this should probably be
fixed. The ex::traverse*() functions can then be removed.

16 years agomoved the reference counter into its own class "refcounted"
Christian Bauer [Fri, 29 Aug 2003 17:36:02 +0000 (17:36 +0000)]
moved the reference counter into its own class "refcounted"

16 years ago* Fix for lintian error "package-lacks-versioned-build-depends-on-debhelper 4".
Richard Kreckel [Fri, 29 Aug 2003 01:06:23 +0000 (01:06 +0000)]
* Fix for lintian error "package-lacks-versioned-build-depends-on-debhelper 4".

16 years ago* Oops, forgot to cvs add the two new files in last commit.
Richard Kreckel [Fri, 29 Aug 2003 00:35:39 +0000 (00:35 +0000)]
* Oops, forgot to cvs add the two new files in last commit.

16 years ago* Preliminar update over Debian's ginac_1.1.3-1.diff.gz.
Richard Kreckel [Fri, 29 Aug 2003 00:34:38 +0000 (00:34 +0000)]
* Preliminar update over Debian's ginac_1.1.3-1.diff.gz.

16 years agolsts are not shareable by default
Christian Bauer [Wed, 27 Aug 2003 19:42:29 +0000 (19:42 +0000)]
lsts are not shareable by default

16 years ago- added some (empty) exception specifications (reduces code size a little)
Christian Bauer [Tue, 26 Aug 2003 22:14:37 +0000 (22:14 +0000)]
- added some (empty) exception specifications (reduces code size a little)
- synced to 1.1 (ex::const_iterator::operator[])

16 years agodocumentation update (sort of)
Christian Bauer [Tue, 26 Aug 2003 21:02:52 +0000 (21:02 +0000)]
documentation update (sort of)

16 years agosymbols can be made noncommutative (see symbol constructors); some feedback
Christian Bauer [Tue, 26 Aug 2003 21:01:27 +0000 (21:01 +0000)]
symbols can be made noncommutative (see symbol constructors); some feedback
on the usefulness of this would be appreciated

16 years agobumped archive version number because of added attributes for symbols
Christian Bauer [Tue, 26 Aug 2003 21:00:36 +0000 (21:00 +0000)]
bumped archive version number because of added attributes for symbols

16 years agogenerous use of auto_ptr to provide better exception safety and make the code
Christian Bauer [Tue, 26 Aug 2003 20:57:44 +0000 (20:57 +0000)]
generous use of auto_ptr to provide better exception safety and make the code
more expressive (doesn't that sound great?)

16 years agoprint_tree prints the object addresses
Christian Bauer [Mon, 25 Aug 2003 18:47:33 +0000 (18:47 +0000)]
print_tree prints the object addresses

16 years ago- documented numeric::to_int()/to_long()/to_double()/to_cl_N()
Christian Bauer [Mon, 25 Aug 2003 18:45:53 +0000 (18:45 +0000)]
- documented numeric::to_int()/to_long()/to_double()/to_cl_N()
- a little more information about evalf()

16 years agosome functions that were restricted to symbols for arguments now accept
Christian Bauer [Sun, 24 Aug 2003 22:58:23 +0000 (22:58 +0000)]
some functions that were restricted to symbols for arguments now accept
general expressions