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