]> www.ginac.de Git - ginac.git/blob - NEWS
Finalize 1.8.5 release.
[ginac.git] / NEWS
1 This file records noteworthy changes.
2
3 1.8.5 (1 January 2023)
4 * Speed up multivariate polynomial factorization; fix it in some rare
5   corner cases where it didn't previously terminate.
6
7 1.8.4 (19 September 2022)
8 * Add support for sqrfree_parfrac().
9 * Add info methods for transcendental functions.
10
11 1.8.3 (23 March 2022)
12 * series_to_poly() can be used from ginsh.
13 * Fix power::to_polynomial() for posint exponents.
14 * Fix power::subs() in some special cases.
15
16 1.8.2 (1 January 2022)
17 * Fix elusive bug in comparing relational objects.
18 * Ensure modular_form_kernel::series() includes an Order term.
19
20 1.8.1 (9 August 2021)
21 * Add method relational::canonical() and improve conversion of relational to
22   Boolean (it now works on many simple symbolic cases).
23 * Improve normalization of negative exponents.
24 * Fix indexing multiply referenced objects with ex::operator[].
25 * Make functions evalf() their arguments before doing own evalf().
26 * Fix bugs in H_evalf() and in evaluation of iterated integrals.
27 * Several portability improvements and compiler warning fixes.
28
29 1.8.0 (14 October 2020)
30 * New routines for the numerical evaluation of iterated integrals like
31   elliptic multiple polylogarithms or iterated integrals of modular forms.
32 * Stronger normalization methods for expressions with powers. Where this
33   is safe, GiNaC now tries replacing various kinds of powers in order to
34   find and cancel common subexpressions.
35 * Improved CMake build.
36
37 1.7.11 (3 August 2020)
38 * Fix elusive bugs in factor() and in expand().
39
40 1.7.10 (28 June 2020)
41 * Fix collect_common_factors() for hidden zero arguments.
42 * Fix build on modern systems (C++20 and Python3).
43
44 1.7.9 (11 April 2020)
45 * Fix unarchiving of overloaded functions.
46 * Fix MinGW64 build.
47
48 1.7.8 (7 October 2019)
49 * Fix pseries::evalf(), broken since 1.7.0.
50 * Fix a corner-case bug in H_evalf().
51
52 1.7.7 (22 September 2019)
53 * Fix unarchiving empty containers.
54 * Remove obsolete exhashmap implementation.
55 * Fix issues with zeta computation.
56 * Build with Python3.
57
58 1.7.6 (22 April 2019)
59 * Fix a bug in mul::series() about asymptotic order term.
60 * Fix cl_N code generation for small negative integers.
61 * Fix multiple polylog computation related to trailing zeros and user-specified
62   signs for small imaginary parts.
63 * Fix CMake build with Python3.
64
65 1.7.5 (17 February 2019)
66 * Add Markowitz-ordered Gaussian eliminatin.
67 * Avoid un-normal zeros in matrix::solve().
68 * Accept exprseq arguments in lsolve(eqns, vars).
69 * Add overload of matrix::rank(solve_algo).
70 * Fix case in G_do_hoelder with real x values which are not cl_R.
71 * Fix an elusive bug in expairseq/add ctor, introduced in 1.7.0.
72
73 1.7.4 (19 February 2018)
74 * Fix ABI compatibility with 1.7.[0-2] (broken unintentionally in 1.7.3).
75
76 1.7.3 (1 February 2018)
77 * Speed up some corner cases of polynomial factorization.
78 * Speed up some corner cases of gcd computation.
79 * Speed up factorization of pre-factored polynomials.
80 * Make matrix::solve() work with hidden (non-normal) zeros.
81 * Fix bug in evaluation of real and imaginary parts of powers.
82 * Fix some LaTeX output, add new function symbol::get_TeX_name().
83
84 1.7.2 (10 January 2017)
85 * Fix memory leak in operators returning relationals, introduced in 1.7.0.
86 * Make macro GINAC_DECLARE_REGISTERED_CLASS() work outside namespace GiNaC.
87 * Fix some build issues.
88
89 1.7.1 (2 October 2016)
90 * Fix crash in basic::subs(), visible in classes which don't override it.
91 * Fix convergence failure in Li_projection.
92 * Fix cliffor_bar() and clifford_star().
93 * Improve performance of clifford_to_lst().
94 * Fix compilation issues, reduce compiler warnings.
95
96 1.7.0 (30 April 2016)
97 * Make use of C++11 features:
98   - Use new language features 'auto', 'nullptr', 'constexpr', range-based for
99     loops, the contextual keyword 'override', static 'noexcept' operator, etc.
100   - Add initializer list ctors for container<>, lst and nested initializer
101     lists ctor for class matrix.
102   - Add many rvalue reference overloads for ctors from std containers. (Note
103     that whether they really speed up things depends on whether evaluation
104     leaves the container unchanged or not.)
105   - Rvalue reference overloads for ctors from std containers made it possible
106     to remove the manual 'discardable' hack and std::auto_ptr<T> for good.
107   - New dynallocate<T>(args...) helper functions obsolete manual allocation
108     on the heap and setting the dynallocated status flag.
109   - Got rid of C++98ish algorithm features (bind2nd, etc.) and replaced them
110     with lambdas.
111 * Make add::eval(), mul::eval() more careful so they return an evaluated,
112   canonical expression without compromise.
113 * Remove 'level' argument of all .eval() methods. This has become possible by
114   ensuring that add::eval() and mul::eval() evaluate their own structure
115   without compromise (this was not guaranteed before). If all ex are evaluated,
116   any object which is an aggregate of such ex will only ever have to
117   evaluate itself, obsoleting the need for recursing.
118 * Remove 'level' arguments of all .evalf() and .normal() methods. They were
119   modeled after the .eval() methods.
120 * Make relational::rhs() and lhs() nonvirtual.
121 * Add support for power::info(info_flags::real).
122 * Add fderivative::derivatives() method.
123 * Remove broken info_flags::algebraic.
124 * Remove unmaintained support for Cint.
125 * Remove unfinished andcode for hash table-based expairseq.
126 * Remove deprecated ex::to_rational(lst) and ex::to_polynomial(lst).
127 * ginac-excompiler installs in $LIBEXECDIR now, not in $BINDIR.
128 * Many minor performance enhancements.
129
130 1.6.7 (29 February 2016)
131 * Fix elusive bug in sqrfree(), normal(), numer(), and denom().
132
133 1.6.6 (20 December 2015)
134 * Fix elusive bug in add::eval().
135 * Several minor performance enhancements.
136
137 1.6.5 (27 July 2015)
138 * Fix pow(+(...),2).expand() where the sum contained roots of expressions.
139 * Speed-up pow(+(...),n).expand() where n > 3.
140 * Fix a crash in PolyLogs of rational numbers.
141
142 1.6.4 (8 May 2015)
143 * Fix pow(+(...),2).expand() where the sum contained roots of rationals.
144 * Various improvements for info(info_flags::nonnegative).
145 * Make power::expand() (x*p)^c -> x^c * p^c, if p>0.
146 * Fix normal() where nested functions occur multiple times.
147 * Add optional explicit derivatives to functions and use it in abs(),
148   imag_part(), real_part().
149 * Evaluate abs(z)^(2n) -> z^n * conjugate(z)^n.
150
151 1.6.3 (27 November 2014)
152 * New expand_options::expand_transcendental. GiNaC will apply additional
153   rules when expanding expressions if this option is specified, i.e.
154   log(a*b) -> log(a) + log(b)
155   exp(a + b) -> exp(a)*exp(b)
156 * Functions can define a custom expand() and info() now.
157 * Automatically rewrite (x^{-1})^c -> x^{-c} for positive c.
158 * Transform abs(x)^n -> x^n if x is real and n is even.
159 * Improved power::info(): power with a real base and even exponent
160   reports that it's non-negative.
161 * Fixed spurious match failure due to expairseq::match() bug:
162   > match(sin(y)*exp(b)+sin(x)*exp(a), sin($0)*exp(a)+exp(b)*sin($1))
163   FAIL
164 * Fixed power::is_polynomial() and mul::is_polynomial() computation.
165 * factor_univariate correctly handles polynomials over rationals (no
166   segfaults any more).
167 * Fixed an infinite loop in factor_multivariate due to incorrect handling
168   of polynomials having a leading coefficient being a sum with a non-trivial
169   integer content.
170 * Fixed numeric evaluation of generalized multiple polylogarithms for real
171   and negative argument.
172 * Avoid calling log(1-x) in numeric evaluation of classical polylogarithm.
173 * Fixed numeric evaluation of multiple polylogarithms (correctly set
174   the signs of the imaginary parts in the intermediate expression).
175 * Fixed numeric evaluation of Nielsen polylogs for arguments close to
176   the 6th root of unity or its conjugate.
177 * Avoid infinite recursion in series expansion of logarithm.
178 * numeric::info(info_flags::nonnegative) correctly handles complex numbers
179   with non-zero imaginary part.
180 * Fixed several build issues:
181   - libreadline and dlopen() misdetection.
182   - multiple definition of symbol on MinGW.
183   - auto* tools and texinfo being unhappy in various ways.
184 * GiNaC can be built with CMake now.
185
186 1.6.2 (6 November 2011)
187 * Fixed the parser to read GiNaC::lst again.
188 * Fixed a compile warning (relevant to openSUSE build).
189 * Fixed a bug concerning the subsitutions in indexed expressions
190   (subs_options::no_index_renaming was ignored).
191
192 1.6.1 (18 July 2011)
193 * Fixed several internal assertions for the debug version of GiNaC.
194 * More verbose report of (auto-)configuration problems.
195 * Fixed a compile problem with ginsh using gcc 4.6.
196
197 1.6.0 (22 May 2011)
198 * Fixed compilation issues with clang.
199 * Fixed compilation issues with VC++.
200 * Fixed a segfault in fsolve() and improved its numerical algorithm.
201 * Fixed several memory leaks in power::eval().
202 * Fixed the substitution algorithm that led to wrong results (exp(log(x))->x).
203 * Fixed a bug in add:eval() (real_part() had returned wrong results).
204 * Fixed infinite loop bug when unarchiving realsymbol and possymbol.
205 * Fixed bugs in the GCD code.
206 * Fixed empty string bug in symbol::get_name().
207 * Fixed bugs concerning STL vector sizes that can potentially cause segfaults.
208 * Fixed a bug in is_polynomial().
209 * Removed autogen dependencies.
210 * Improved simplify_indexed() algorithm.
211 * Changed the connection between library version and package version.
212 * power::series() can handle now more expressions with singularities in the exponent.
213 * Added conjugate() methods to functions cosh, sinh, tanh.
214
215 1.5.8 (06 July 2010)
216 * Changed default behaviour of conjugate() for user-defined functions to avoid
217   wrong evaluations. A user-defined conjugate_func must now be explicitly
218   registered.
219 * Fixed: Parser now handles abbreviations as advertized in the manual.
220 * Fixed two bugs in the GCD code (one infinite loop, one miscalculation).
221 * Fixed dangerous iterator use.
222 * Fixed a memory leak in excompiler.
223 * Fixed several syntax issues wrt to gcc 4.5 and wrt to compile option -std=cxx0x.
224 * Fixed a wrong URL and a texinfo problem in the manual.
225 * Added degree_vector() utility function.
226
227 1.5.7 (29 March 2010)
228 * Fixed a bug in the GCD code (infinite loop in pgcd()).
229 * Fixed a bug in atan2() (division by zero error for atan2(x,0) if x is a
230   negative and composite term).
231 * Products now correctly set info_flags::negative and info_flags::negint.
232
233 1.5.6 (28 January 2010)
234 * Fixed compile problem with gcc 3.4.
235 * Improved excompiler: The ginac-excompiler script will only be installed if
236   excompiler is supported and enabled.
237
238 1.5.5 (04 November 2009)
239 * Correct libtool versioning.
240
241 1.5.4 (02 November 2009)
242 * Default parser now can again read in user defined classes.
243 * Add mul::info() and add::info() support for numeric info_flags (GiNaC now can
244   detect that the sum or product of a number of positive expressions is again a
245   positive expression).
246 * Fixed cast that caused compile error on 64bit machines.
247 * Fixed incorrect uses of STL iterators.
248 * Removed subdirectory debian.
249 * Output LaTeX-symbols using \mathrm, instead of \mbox.
250
251 1.5.3 (30 July 2009)
252 * The parser now understands user-defined functions by default. The identifier
253   names can now contain underscores.
254
255 1.5.2 (10 July 2009)
256 * Fixed documentation of return_type_info()
257 * Fixed cstdio include issue.
258 * GiNaC now requires at least version 1.2.2 of cln.
259
260 1.5.1 (25 February 2009)
261 * Fixed compiling problems with GNU g++ 3.4.
262 * Work around weird C++ RTTI behaviour on woe32 so GiNaC works on MinGW again.
263
264 1.5.0 (17 February 2009)
265 * Added polynomial factorization.
266 * New, faster (recursive descent) expression parser.
267 * Faster GCD computation.
268 * gcd() now allows the user to override (some of the) heuristics.
269 * Writing extensions classes is simpler now:
270   - Replaced custom RTTI by standard C++ RTTI.
271   - Definition of archiving methods now optional when declaring a new GiNaC class.
272 * Fixed recursion in polynomial divide that caused a significant slowdown in
273   sqrfree().
274 * Improved lsolve() of systems containing non-numeric coefficients.
275 * Removed implicit conversions from cl_N to numeric.
276 * Improved configuration and compatibility.
277
278 1.4.4 (7 Nov 2008)
279 * Fixed a bug in the multiple polylogarithms Li/G that caused imaginary parts
280   of the arguments to be ignored. 
281 * Fixed archiving of complex numbers.
282 * Made the behaviour of class function more consistent with respect to
283   ncmul::eval().
284 * Fixed bug in power::is_polynomial.
285 * Improved heur_gcd() so it can handle rational polynomials.
286 * Improved build scripts.
287
288 1.4.3 (04 April 2008)
289 * Fixed bug in numerical evaluation of multiple polylogarithms and
290   alternating multiple zeta values introduced in version 1.4.2.
291 * Nielsen polylog now invalidates its lookup tables in case the precision
292   (Digits) has been changed.
293 * Added new checks for recent bugs in the numerical evaluation of Li and zeta.
294
295 1.4.2 (03 April 2008)
296 * Fixed VPATH building of documentation.
297 * Fixed bug in numerical evaluation of multiple polylogarithms for arguments
298   equal to certain roots of unity (thanks to Jianqiang Zhao).
299 * Fixed check for memory leakage in parser.
300 * Made internal function coerce() standard compliant.
301 * Improved lsolve() of systems containing non-numeric coefficients.
302 * Improved automatic test programs. Now they work on MinGW and Cygwin as well.
303
304 1.4.1 (21 November 2007)
305 * Fixed memory leak in ginac_yylex().
306 * Fixed memory leaks in mul::eval() and power::eval().
307 * Fixed macro checking for version of libreadline (Mac OS X).
308 * Fixed broken preprocessor instruction in excompiler.cpp.
309 * Fixed broken module loading in excompiler.cpp.
310 * info(info_flags::has_indices) now works for sums and products.
311 * Improved mul::expand().
312 * Improved CLN output.
313
314 1.4.0 (31 August 2007)
315 * New tinfo mechanism.
316 * Removed rtt from class symbol.
317 * Faster archiving by adding a map from strings to indices in the atoms vector.
318 * Improved unarchiving: algorithms order N instead of order N^2.
319 * Added compile function, excompiler class.
320 * Added exset type.
321 * Added step function to GiNaCs built-in functions.
322 * Added is_polynomial() method.
323 * Added real_part() and imag_part() methods.
324 * Added matrix::is_zero_matrix() method.
325 * Added evalm() method to pseries class.
326 * Improved dummy index renaming.
327 * Many improvements for class clifford.
328 * New flag for positive symbols/numbers, added possymbol class.
329 * Added programming examples in doc/examples
330
331 1.3.8 (28 August 2007)
332 * Drop support of ginac-config and ginac.m4. Please use pkg-config instead.
333 * atan2(y,x) branch cut correction.
334 * Fixed bug in series expansion.
335 * Additional transformations for mul and power.
336 * Clifford units now honor representation labels.
337 * Correct csrc output for idx and fderivative.
338 * Improved handling of convergence transformationis for Li/G.
339 * Fix compilation issues with prereleases of GCC 4.3.
340 * info_flags::expanded added.
341 * input_parser also accepts pow().
342 * texinfo.tex removed from package.
343
344 1.3.7 (05 February 2007)
345 * Fixed bug in expansion of power.
346 * Fixed bugs in functions S() (infinite loop), H() and zeta() (wrong results).
347 * Rebuilt bison related files with bison version 2.3 (fixes parse error bugs).
348 * Improved power::eval().
349 * Improved libreadline detection.
350
351 1.3.6 (13 December 2006)
352 * Better worst case behavior in heuristic gcd.
353 * Improved collecting for sparse multivariate polynomials.
354 * Improved collect_common_factors.
355 * Fixed bug in numerical evaluation of multiple polylogs.
356 * Fixed numerical integration of complex functions.
357 * Fixed bug in tensor::replace_contr_index().
358
359 1.3.5 (17 August 2006)
360 * Re-built bison related files that caused bugs with gcc 4.
361 * Fixed bugs in fderivative::match_same_type(), expairseq::match(),
362   expand_dummy_sum(), and expairseq::map().
363 * Fixed template specialization for class container to be gcc 4.2 compliant.
364 * Output in csrc mode is now -x instead of -1.0*x.
365 * Fixed tutorial and reference generation in html/pdf/ps format.
366 * Modified autotool configuration to allow for compilation on MinGW.
367 * Debian packaging files updated.
368
369 1.3.4 (12 April 2006)
370 * More general index dimensions are now possible.
371 * Improved algebraic substitutions.
372 * Fixed wrong matching in .has(). 
373 * Fixed bug in differentiation of a power.
374 * collect_common_factors also works with negative powers of common factors now.
375 * Code clean-up and preparations for upcoming cln 1.2.
376
377 1.3.3 (24 October 2005)
378 * Fixed bug occuring in algebraic substitutions with expressions involving
379   indices.
380 * Fixed bug that selected the wrong algorithm for determinants of purely
381   numeric matrices with at least one floating point element.
382 * Fixed bug in function H that caused an infinite recursion for arguments
383   around +-I.
384 * Fixed const-correctness in printing handler for GCC 4.0.2.
385 * Made lookup in adaptivesimpson precision-aware.
386 * Added series expansion for functions (classical) Li and S around x==0.
387 * Added fsolve() numerical univariate real-valued function solver.
388 * Added functions sub_matrix() and reduced_matrix().
389 * Small cleanups. Less warnings with latest GCC.
390
391 1.3.2 (10 July 2005)
392 * GCD avoids to produce expanded expressions.
393 * Fixed bug in expanding expressions containing dummy indices.
394 * Fixed static initialization order bug.
395 * collect_common_factors now works with powers.
396 * Modernized configuration scripts.
397
398 1.3.1 (04 May 2005)
399 * integral() and eval_integ() can be used from ginsh.
400 * Integrals can be series-expanded.
401 * Fixed a library initialization problem.
402 * GiNaC compiles from tarball even if lex/flex is missing.
403 * Fixed bugs in canonicalize_clifford(), clifford_prime() and clifford_to_lst().
404 * clifford_moebius_map(), remove_dirac_ONE() and LaTeX output of Clifford
405   objects now care about representation labels.
406 * Fixed bug in gcd.
407 * Better output for slashed expressions
408
409 1.3.0 (19 October 2004)
410 * The Clifford classes have been generalized to allow working with Clifford
411   algebras generated by arbitrary symmetric tensors or matrices. Also, a lot
412   of new functions for Clifford algebras have been added, including
413   automorphisms and Moebius transformations. [V. Kisil]
414 * Added some basic symbolic and numeric integration facilities. [C. Dams]
415 * The multiple polylogarithm Li() now evaluates numerically for arbitrary
416   arguments.
417 * New functions G(a,y) and G(a,s,y) added (another notation for multiple
418   polylogarithms).
419
420 1.2.4 (12 October 2004)
421 * Added ex::unitcontprim() to compute the unit, content, and primitive parts
422   of a polynomial in one go.
423 * binomial(n, k) evaluates for non-integer arguments n.
424 * Li(2,x) now evaluates for +-I.
425 * Optimized Li(2,x).
426 * Fixed bug in Li(n,x) (if Li(2,x) was calculated with high precision the
427   enlargement of the look-up table caused a segmentation fault).
428 * Fixed another bug in the series expansion of powers, and a bug in
429   power::info().
430
431 1.2.3 (13 August 2004)
432 * Added variants of dirac_trace() and color_trace() that take the trace over
433   more than one representation label by specifying a set or list of labels.
434 * diracgamma::contract_with() uses Chisholm identities in 4 dimensions to
435   produce more compact results.
436 * Fixed a bug in the series expansion of powers.
437 * The --enable-html-doc and --enable-ps-doc configure options are gone.
438   Documentation in HTML, DVI, PostScript, and PDF formats is now built with
439   "make html", "make dvi", "make ps", and "make pdf", respectively. The only
440   documentation that gets built by default are the tutorial in .info format
441   and the manpages.
442
443 1.2.2 (3 August 2004)
444 * Added const_preorder_iterator and const_postorder_iterator classes (and
445   associated methods ex::pre/postorder_begin/end()) providing tree traversal
446   with iterators.
447 * Fixed the LaTeX output of the varidx class.
448 * Fixed bugs in series expansion and complex conjugation.
449 * (p.i*p.i).get_free_indices() returns the correct result () instead of (.i).
450 * Symbolic functions without any eval(), evalf() etc. functions now work
451   properly.
452 * integer_content(), content(), and primpart() now also work for polynomials
453   with rational coefficients (calculating the LCM of coefficients'
454   denominators).
455 * Added method matrix::rank().
456 * Added function resultant().
457 * Added integer_content() function to ginsh.
458
459 1.2.1 (23 April 2004)
460 * Fixed infinite recursion in atan2_evalf() and improved atan2_eval().
461 * Added automatic evaluations for trigonometric functions with negative
462   arguments (e.g. sin(-2) -> -sin(2)).
463 * Fixed a static initialization order goof-up.
464 * Fixed various bugs in series expansion.
465
466 1.2.0 (19 March 2004)
467 * Added a structure<T> template class for the easy creation of user-defined
468   algebraic classes.
469 * Added support for (acyclic) visitors, to allow cleaner implementations of
470   algebraic algorithms.
471 * Added a const_iterator class that can be used instead of op()/nops().
472 * Completely revamped the implementation of expression output. It is now
473   possible to add new output formats, to change the behavior of predefined
474   formats at run-time, and to have different output styles for algebraic
475   functions.
476 * Symbols can be made non-commutative.
477 * Added a method ex::conjugate() and a function conjugate() for complex
478   conjugation. Symbols can be declared as real or complex-valued.
479 * Improved the speed of subs(), normal(), to_rational() and to_polynomial()
480   by the use of maps instead of lists. The old forms
481     subs(const lst & ls, const lst & lr, unsigned options)
482     to_rational/to_polynomial(lst & repl)
483   are still available for compatibility, but using the new forms
484     subs(const exmap & m, unsigned options)
485     to_rational/to_polynomial(exmap & repl)
486   is more efficient, especially when the number of replacements is large.
487 * quo(), rem(), prem(), sprem(), decomp_rational(), unit(), content(),
488   primpart() and matrix::charpoly() now take a "const ex &" instead of a
489   "const symbol &".
490 * Redundant expressions (two ex pointing to different objects are found to be
491   equal in compare()) are now actively deleted/fused to conserve memory and
492   speed up subsequent comparisons. This behavior can be suppressed on a
493   per-object level with status_flags::not_shareable. Lists and matrices are
494   not shareable by default.
495 * Lots of internal streamlining and optimizations.
496 * Caveats for class implementors:
497    - basic::copy() and basic::destroy() are gone; classes derived from
498      basic can use the defaults for the assignment operator and copy
499      constructor.
500    - basic::subs(), basic::normal(), basic::to_rational() and
501      basic::to_polynomial() take 'exmap' objects instead of lists.
502    - basic::subs() now descends into subexpressions (if accessible via
503      nops()/op()/let_op()). If you have a custom implementation of subs()
504      that calls basic::subs() after substituting subexpressions, this needs
505      to be changed to a call to subs_one_level().
506    - lst::thislst() and exprseq::thisexprseq() renamed to thiscontainer().
507    - thiscontainer() and associated constructors now take a std::auto_ptr.
508    - Overloading basic::print() is now deprecated. You should use
509      print_func<>() class options instead.
510
511 1.1.7 (11 March 2004)
512 * Fixed a bug in canonicalize_clifford().
513 * Series expansion now works predictably. All terms with the exponent of the
514   expansion variable smaller than the given order are calculated exactly. If
515   the series is not terminating, the Order function is (at least) of the given
516   order.
517
518 1.1.6 (22 January 2004)
519 * Added a function option "dummy()" which means "no options". This simplifies
520   the implementation of symbolic functions which are not to be further
521   evaluated.
522 * Removed a bug in the numerical evaluation of Li() that caused the system
523   to hang for certain parameter combinations.
524 * Fixed a bug in the calculation of hash values for indices that could lead
525   to wrong results or bogus error messages from simplify_indexed().
526 * Fixed a bug in the evaluation of harmonic polylogarithms for complex
527   arguments with positive imaginary part.
528
529 1.1.5 (5 November 2003)
530 * Harmonic polylogarithms now numerically evaluate for arbitrary arguments
531   (parameter must still be positive integers).
532 * The zeta function now can also be given a lst as a parameter in which case
533   it becomes a multiple zeta value. The use of mZeta is deprecated.
534 * The order of parameters for the multiple polylogarithm has been corrected.
535 * Documentation for the nested sums functions zeta, harmonic polylog, multiple
536   polylog, etc. has been added.
537
538 1.1.4 (17 October 2003)
539 * Lists and matrices can now be initialized from comma-separated lists of
540   expressions, like this:
541
542     lst l;
543     l = x, 2, y, x+y;
544
545     matrix M(3, 3);
546     M = x, y, 0,
547        -y, x, 0,
548         0, 0, 1;
549
550   This is both faster and produces much smaller code than the old constructors
551   lst(ex, ex, ...) and matrix(unsigned, unsigned, lst), especially in the case
552   of matrices, and is now the recommended way to create these objects.
553 * The function mZeta now evaluates much faster for arbitrary parameters. The
554   harmonic and multiple polylogarithms evaluate considerably faster and check
555   for convergence. The order of parameters for the harmonic polylogarithm
556   has been corrected.
557
558 1.1.3 (22 August 2003)
559 * Added new symbolic functions for better integration with nestedsums:
560   (multiple) polylogarithm Li(), Nielsen's generalized polylogarithm S(),
561   harmonic polylogarithm H(), and multiple zeta value mZeta().
562 * New exhashmap<T> template intended as a drop-in replacement for
563   std::map<ex, T, ex_is_less> using GiNaC's hashing algorithms.
564
565 1.1.2 (11 August 2003)
566 * Fixed a bug in the unarchiving of sums and products: terms were not
567   reordered in a canonical way.
568 * Fixed a bug in normal()/numer_denom(): denominator was not made unit
569   normal if it was a simple number.
570 * Improved the speed of subs() in some cases.
571
572 1.1.1 (18 June 2003)
573 * lst (and exprseq) provide iterators for read-only element access. For
574   sequential access this is one order faster than using op().
575 * Implemented relational::subs() (this was done in 1.0.9 but inadvertently
576   omitted from the 1.1 branch).
577 * pole_error and do_taylor are available to library users.
578 * Added on-line help and Tab-completion for print(), iprint(), print_latex()
579   and print_csrc() in ginsh.
580
581 1.1.0 (3 April 2003)
582 * Removed deprecated macros is_ex_a, is_ex_exactly_a and friends for good.
583 * The scalar_products mechanism allows the specification of an index dimension.
584 * Removed dirac_gamma6/7().
585 * Added ex::to_polynomial().
586 * subs() accepts an optional "options" argument. The option
587   subs_option::subs_algebraic enables "smart" substitutions in products and
588   powers.
589 * Added stream manipulators "dflt", "latex", "python", "python_repr", "tree",
590   "csrc", "csrc_float", "csrc_double", "csrc_cl_N", "index_dimensions" and
591   "no_index_dimensions" to control the output format. Calling basic::print()
592   directly is now deprecated.
593 * Made the hashing more simple and efficient.
594 * Caveats for class implementors:
595    - basic::subs(): third argument changed from "bool" to "unsigned"
596    - unarchiving constructor and basic::unarchive(): "const" removed from
597      second argument
598    - basic::let_op() should only be implemented if write access to
599      subexpressions is desired
600    - simplify_ncmul() renamed to eval_ncmul()
601    - simplified_ncmul() renamed to hold_ncmul()
602    - nonsimplified_ncmul() renamed to reeval_ncmul()
603
604 1.0.14 (1 March 2003)
605 * Improved the C-source output: complex numbers are printed correctly (using
606   the STL complex<> template or cln::complex()), rational numbers use cl_RA()
607   in the CLN output, and small integers are printed in a more compact format
608   (e.g. "2.0" instead of "2.0000000e+00").
609 * function_options::set_return_type() and function_options::do_not_evalf_params()
610   now actually work.
611
612 1.0.13 (27 January 2003)
613 * Contracting epsilon tensors with Euclidean indices now works.
614 * Improved dummy index symmetrization in sums.
615 * Added dirac_gammaL/R(), which can be used instead of dirac_gamma6/7()
616   but are single objects, to allow for a more compact notation of Dirac
617   strings.
618 * Powers with negative numeric exponents are printed as fractions in the
619   LaTeX output.
620 * Added symbolic_matrix() for the convenient creation of matrices filled
621   with symbols.
622 * Added collect_common_factors() which collects common factors from the
623   terms of sums.
624 * simplify_indexed() converts "gamma~mu*p.mu" to "p\".
625
626 1.0.12 (30 October 2002)
627 * Fixed a bug in power::expand() that could produce invalid expressions.
628 * The input parser no longer ignores extra data following accepted input.
629 * Improved the CLN C-source output (integers are printed as integers, and
630   floating point numbers include the precision).
631 * Fixed a problem in the LaTeX-output of negative fractions.
632 * Added print_latex() and print_csrc() to ginsh.
633 * The sprem() function is now public.
634
635 1.0.11 (18 September 2002)
636 * Fixed a possible memory corruption in contractions of indexed objects with
637   delta or metric tensors.
638 * Computing the derivative of a power series object with respect to a symbol
639   that is not the expansion variable now works correctly.
640 * Several bugfixes in code generation.
641
642 1.0.10 (24 July 2002)
643 * Powers of indexed objects are now parenthesized correctly in LaTeX output.
644 * Input parser handles indices (they have to be specified in the same list
645   as the symbols).
646 * Added some limited support for subspaces in the idx and tensor classes.
647 * Fixed a bug in canonicalize() (antisymmetric canonicalization of an already
648   sorted list containing two or more equal objects failed to return 0).
649
650 1.0.9 (11 June 2002)
651 * simplify_indexed() now raises/lowers dummy indices to canonicalize the index
652   variance. This allows some simplifications that weren't possible before,
653   like eps~a.b~c~d*X.a*X~b -> 0 and X.a~a-X~a.a -> 0.
654 * Implemented relational::subs().
655 * Fixed bug in simplify_ncmul() for clifford objects.
656
657 1.0.8 (31 March 2002)
658 * Improvements in memory usage of the expand() methods.
659
660 1.0.7 (18 March 2002)
661 * Fixed LaTeX output of indexed and matrix objects.
662 * Fixed matrix::pow(n) for n==0 and added helper functions to create unit
663   matrices "ex unit_matrix(unsigned, unsigned)".
664
665 1.0.6 (4 March 2002)
666 * "(x+1).subs(x==x-1)" now returns the correct result "x" instead of "x-1".
667
668 1.0.5 (27 January 2002)
669 * (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
670   of any class (except add/mul/ncmul/numeric) for "s". They should even work
671   if "s" is a "power" object, as long as the exponent is non-integer, but with
672   some limitations. For example, you can "collect(a*2^x+b*2^x, 2^x)" to get
673   "(a+b)*2^x", but "degree(2^(3*x), 2^x)" yields 0 instead of 3).
674 * Fixed a small output bug.
675
676 1.0.4 (24 January 2002)
677 * Speedup in expand().
678 * Faster Bernoulli numbers (Markus Nullmeier).
679 * Some minor bugfixes and documentation updates.
680
681 1.0.3 (21 December 2001)
682 * Fixed a bug where quo() would call vector::reserve() with a negative
683   argument.
684 * Fix several bugs in code generation.
685
686 1.0.2 (19 December 2001)
687 * Input parser recognizes "sqrt()", which is also used in the output.
688 * divide(a,b,q) only modifies q if the division succeeds; also, divide(a,b,a)
689   works now.
690 * Fixed small bug in dummy index renaming which could cause it to not
691   recognize renamable indices in some cases.
692 * power::degree() and power::ldegree() throw an exception when encountering
693   a non-integer exponent.
694 * Add output-support for Python bindings.
695
696 1.0.1 (22 November 2001)
697 * Function sqrfree() handles a few more cases now.
698 * Class relational has real canonical ordering now.
699 * Handle obscene libreadline version numbers when building ginsh.
700
701 1.0.0 (6 November 2001)
702 * Some internal reorganization resulting in a general speed-up.
703 * The last 3 evaluated expressions in ginsh are now referred to with the
704   tokens '%', '%%' and '%%%'. The old '"', '""' and '"""' remain for
705   compatibility but may be removed in a future version of GiNaC.
706
707 0.9.4 (20 September 2001)
708 * Functions have better support for external scripting languages.
709 * Interface cleanups and bugfixes.
710 * Fix silly bug in evalf() that prevented things like 2^Pi being computed.
711
712 0.9.3 (16 August 2001)
713 * series expansion now much more consistent for small order expansion.
714 * lsolve() accepts algorithmic hint as parameter.
715
716 0.9.2 (31 July 2001)
717 * Epsilon tensor is more functional.
718 * simplify_indexed() is better at detecting expressions that vanish for
719   symmetry reasons.
720 * Several little bugfixes and consistency enhancements.
721
722 0.9.1 (27 June 2001)
723 * Ctors of class numeric are not explicit any more.  All built-in callers for
724   pseudofunctions are now templated and default to ex arguments which relaxes
725   the need for explicit ctors.
726 * New functions/methods:
727    - find()
728    - remove_first(), remove_last(), sort() and unique() for lists
729    - symmetrize_cyclic()
730    - decomp_rational()
731 * Instead of just totally symmetric or antisymmetric, complex symmetries
732   can now be defined for indexed objects. Symmetries are described by a
733   tree of "symmetry" objects that is constructed with the sy_none(),
734   sy_symm(), sy_anti() and sy_cycl() functions. The symmetry of a function
735   with respect to its arguments can also be defined (this is currently
736   only used for the Beta function).
737 * Generalized map() to take a function object instead of a function pointer.
738   This allows passing an arbitrary number of additional state to the
739   function being called.
740 * color_trace(), dirac_trace(), diff(), expand(), evalf() and normal() work
741   better with container classes, e.g. using color_trace() on a relation will
742   take the trace on both sides, using diff() on a matrix differentiates every
743   element etc.
744 * diff() works properly with non-commutative products and indexed objects.
745 * New option flag "expand_function_args" for expand().
746 * Supplement some (now deprecated) macros by inlined template functions:
747   - is_of_type(foo, type) -> is_a<type>(foo)
748   - is_ex_of_type(foo, type) -> is_a<type>(foo)
749   - is_exactly_of_type(foo, type) -> is_exactly_a<type>(foo)
750   - is_ex_exactly_of_type(foo, type) -> is_exactly_a<type>(foo)
751   - ex_to_foobar(baz)  ->  ex_to<foobar>(baz)
752 * rem(c, p[x], x) (c: numeric, p[x]: polynomial) erroneously returned p[x]
753   instead of c.
754 * Small bugfixes in pattern matching.
755 * Updated libtool to version 1.4.
756
757 0.9.0 (7 June 2001)
758 * In the output and in ginsh, lists are now delimited by { } braces, and
759   matrices are delimited by single [ ] brackets.
760 * simplify_indexed() renames dummy indices so, e.g., "a.i*a.i+a.j*a.j" gets
761   simplified to "2*a.i*a.i" (or "2*a.j*a.j").
762 * New functions/methods:
763    - canonicalize_clifford() (helpful when comparing expressions containing
764      Dirac matrices)
765    - symmetrize() and antisymmetrize()
766    - numer_denom() (return numerator and denominator in one call)
767    - map() (apply function to subexpressions)
768    - evalm() (evaluate sums, products and integer powers of matrices)
769 * Added a new function match() for performing pattern matching. subs() and
770   has() also accept patterns as arguments. A pattern can be any expression,
771   optionally containing wildcard objects. These are constructed with the
772   call "wild(<unsigned>)" and are denoted as "$0", "$1" etc. in the output
773   and in ginsh.
774 * Positive integer powers of non-commutative expressions (except matrices)
775   are automatically expanded.
776 * Removed cint subdirectory, ginaccint is a separate package now due to 
777   packaging considerations.
778 * Several little bugfixes.
779
780 0.8.3 (11 May 2001)
781 * color and clifford classes are functional and documented.
782 * New "spinidx" class for dotted/undotted indices.
783 * Predefined spinor metric tensor (created by spinor_metric()).
784 * Symbols can have a LaTeX name, e.g. symbol s("s", "\\sigma");
785 * LaTeX output of indexed objects is much nicer.
786 * Fixed some build problems (with recent libreadline).
787 * Semantics of arithmetic operators now follows the C++ rules more strictly.
788
789 0.8.2 (24 April 2001)
790 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() work with
791   non-symbols as the second argument in ginsh.
792 * the argument to collect() can be a list of objects in which case the
793   result is either a recursively collected polynomial, or a polynomial in
794   a distributed form with terms like coeff*x1^e1*...*xn^en, as specified by
795   the second argument to collect().
796 * Several bugfixes (including a nasty memory leak in .normal()).
797 * class matrix: solve() doesn't call algorithms redundantly any more and
798   inverse() falls back to solve() which works in more general cases.
799
800 0.8.1 (16 April 2001)
801 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() can now
802   be used with constants, functions and indexed expressions as well, so you
803   can use it to collect by powers of Pi or sin(x), or to find the coefficient
804   of gamma~0.
805   Limitations:
806    - it only works with symbols, constants, functions and indexed expressions,
807      trying to find the coefficient of, e.g., "x^2" or "x+y" won't work;
808    - it does not know about dummy index summations; the coefficient of
809      gamma~0 in p.mu*gamma~mu should be p.0 but is returned as 0;
810    - using coeff(), tcoeff(), lcoeff() or collect() on elements of
811      noncommutative products might return wrong or surprising results.
812 * subs() no longer only substitutes symbols and indices but performs a more
813   general "syntactic substitution", i.e. it substitutes whole objects in sub-
814   expressions. You can subs((a+b)^2,a+b==3) and get 9, but subs(a+b+c,a+b==3)
815   doesn't do anything.
816   Limitations:
817    - substituting numerics (subs(expr, 2==4)) will not replace then in all
818      occurences; in general, you shouldn't substitute numerics, though.
819 * Added preliminary (re)implementations of color and clifford classes.
820 * simplify_indexed(): contraction of symmetric and antisymmetric tensors
821   is zero.
822 * Replaced the various print*() member functions by a single print() that
823   takes a print_context object that determines the output formatting. This
824   should make it easier to add more output types, such as LaTeX output,
825   which is based on work by Stefan Weinzierl.
826 * Added functions to retrieve the properties stored in archive objects
827   outside of unarchive() (for printing or debugging purposes).
828 * Some bugfixes (indexed objects, archive writing).
829 * .collect() on non-polynomials is now algebraically correct.
830
831 0.8.0 (24 March 2001)
832 * Complete revamp of indexed objects. Instead of multiple classes for
833   indexed things and their indices there is now only one "indexed" class
834   and two types of indices: "idx" for simple indices and "varidx" for
835   indices with variance. There are predefined delta, epsilon and metric
836   tensors, and a function simplify_indexed() that performs canonicalization
837   and dummy index summations. Matrix objects can be indexed for doing simple
838   linear algebra.
839 * Added an option "expand_indexed" to expand() to perform expansion of
840   indexed objects like (a+b).i -> a.i + b.i
841 * Renamed get_indices() to get_free_indices(), which no longer returns
842   dummy indices and checks the consistency of indices in sums.
843 * sqrfree() factorization fixed and improved syntactically.
844 * subs() works on matrices.
845 * Matrices can be constructed from flat list of elements; diagonal matrices
846   can be constructed from list of diagonal elements with diag_matrix().
847 * Fixed memory leak in expand().
848 * Operator% for objects of class ncmul has gone.  Use operator* now for that
849   case too, which is much more natural.
850
851 0.7.3 (28 February 2001)
852 * Several bugfixes and minor performance tunings.
853 * Added a section to the tutorial about adding new algebraic classes to GiNaC.
854 * Closed many in-source documentation gaps.
855
856 0.7.2 (17 February 2001)
857 * Several bugfixes in power series expansion, one of them critical.
858
859 0.7.1 (7 February 2001)
860 * Fix problems with Cint that were caused by CLN's overloaded operator new.
861 * Fix compilation errors with GCC3.
862 * normal() handles large sums of fractions better and normalizes the exponent
863   of power expressions.
864 * expand() always expands the exponent and transforms x^(a+b) -> x^a*x^b.
865 * Some bugfixes of series expansion around branch cuts of special functions.
866
867 0.7.0 (15 December 2000)
868 * Requires CLN 1.1 now.  Class numeric doesn't use an indirect pointer to the
869   actual representation any more.  This is a speedup.
870 * mul::expand() was reengineered to not allocate excess temporary memory.
871 * Non-integer powers of a symbol are treated as constants by (l)degree() and
872   coeff().  Using these functions on an expression containing such powers used
873   to fail with an internal error message.  The side-effect is that collect()
874   can be used on expressions which are not polynomials.
875 * Added a man page for the ginac-config script.
876 * Ctor of numeric from char* honors Digits.
877
878 0.6.4 (10 August 2000)
879 * Complete revamp of methods in class matrix.  Some redundant (and poor)
880   implementations of elimination schemes were thrown out.  The code is now
881   highly orthogonal, more flexible and much more efficient.
882 * Some long standing and quite nasty bugs were discovered and fixed in the
883   following functions: add::normal(), heur_gcd(), sr_gcd() and Order_eval().
884
885 0.6.3 (25 July 2000)
886 * Derivatives are now assembled in a slightly different manner (i.e. they
887   might 'look' different on first sight).  Under certain circumstances this
888   can result in a dramatic speedup because it gives hashing a better chance,
889   especially when computing higher derivatives.
890 * Some series expansions of built-in functions have been reengineered.
891 * The algorithm for computing determinants can be chosen by the user.  See
892   ginac/flags.h and ginac/matrix.h.
893 * The Dilogarithm (Li2) now has floating point evaluation, derivative and a
894   proper series expansion.
895 * Namespace 'std' cleanly disentangled, as demanded by ISO/EIC 14882-1998(E).
896 * Some minor bugfixes, one major lsolve()-bugfix and documentation updates.
897
898 0.6.2 (21 June 2000)
899 * ginaccint.bin is now launched by a binary program instead of by a scripts.
900   This allows us to write #!-scripts.  A small test suite for GiNaC-cint was
901   added.
902 * Several minor bugfixes.
903
904 0.6.1 (18 May 2000)
905 * Cleanup in the interface to Cint.  The required version is now Cint 5.14.38.
906 * Several bugfixes in target install.
907
908 0.6.0 (11 May 2000)
909 * IMPORTANT: Several interface changes make programs written with GiNaC 
910   much clearer but break compatibility with older versions:
911   - f(x).series(x,p[,o]) -> f(x).series(x==p,o)
912   - series(f(x),x,p[,o]) -> series(f(x),x==p,o)
913   - gamma() -> tgamma()  (The true Gamma function, there is now also
914     log(tgamma()), called lgamma(), in accord with ISO/IEC 9899:1999.)
915   - EulerGamma -> Euler
916 * #include'ing ginac.h defines the preprocessor symbols GINACLIB_MAJOR_VERSION,
917   GINACLIB_MINOR_VERSION, and GINACLIB_MICRO_VERSION with the respective GiNaC
918   library version numbers.
919 * Expressions can be constructed from strings like this:
920     ex e("2*x+y", lst(x, y));
921 * ex::to_rational() provides a way to extend the domain of functions like
922   gcd() and divide() that only work on polynomials or rational functions (the
923   good old ex::subs() method reverses this process)
924 * Calling diff() on a function that has no derivative defined returns the
925   inert derivative function "Derivative".
926 * Several new timings in the check target.  Some of them may be rather rude 
927   at your machine, feel free to interrupt them.
928
929 0.5.4 (15 March 2000)
930 * Some algorithms in class matrix (notably determinant) were replaced by
931   less brain-dead ones and should now have much better performance.
932 * Checks were completely reorganized and split up into three parts:
933   a) exams (small regression tests with predefined input)
934   b) checks (lenghty coherence checks with random input)
935   c) timings (for coherence and crude benchmarking)
936 * Behaviour of .evalf() was changed: it doesn't .evalf() any exponents.
937 * Expanded expressions now remember they are expanded to prevent
938   superfluous expansions.
939 * Small bugfixes and improvements in the series expansion.
940
941 0.5.3 (23 February 2000)
942 * A more flexible scheme for registering functions was implemented,
943   allowing for remembering, too.
944 * Some Bugfixes.
945
946 0.5.2 (16 February 2000)
947 * Mainly fixes a bug in the packaging of release 0.5.1.
948
949 0.5.1 (14 February 2000)
950 * Fixes a small number of bugs.
951
952 0.5.0 (7 February 2000)
953 * Expressions can be written ("archived") to files and read therefrom.
954 * Addition of GiNaC-cint, which lets you write complete programs in
955   an interactive shell-like manner in your favoured programming
956   language (i.e. C++).
957
958 0.4.1 (13 December 1999)
959 * Series Expansion of Gamma function and some other trigonometric
960   functions at their poles works now.
961 * Many more evaluations of special functions at points where
962   exact results exist.
963 * info_flags::rational doesn't return true for complex extensions
964   any more---use info_flags::crational for the old behaviour.
965   info_flags::integer and -::cinteger work similarly, the same
966   holds for types like info_flags::rational_polynomial.
967
968 0.4.0 (26 November 1999)
969 * First public release.