1 This file records noteworthy changes.
4 * Fixed a bug in the multiple polylogarithms Li/G that caused imaginary parts
5 of the arguments to be ignored.
6 * Fixed archiving of complex numbers.
7 * Made the behaviour of class function more consistent with respect to
9 * Fixed bug in power::is_polynomial.
10 * Improved heur_gcd() so it can handle rational polynomials.
11 * Improved build scripts.
14 * Fixed bug in numerical evaluation of multiple polylogarithms and
15 alternating multiple zeta values introduced in version 1.4.2.
16 * Nielsen polylog now invalidates its lookup tables in case the precision
17 (Digits) has been changed.
18 * Added new checks for recent bugs in the numerical evaluation of Li and zeta.
21 * Fixed VPATH building of documentation.
22 * Fixed bug in numerical evaluation of multiple polylogarithms for arguments
23 equal to certain roots of unity (thanks to Jianqiang Zhao).
24 * Fixed check for memory leakage in parser.
25 * Made internal function coerce() standard compliant.
26 * Improved lsolve() of systems containing non-numeric coefficients.
27 * Improved automatic test programs. Now they work on MinGW and Cygwin as well.
29 1.4.1 (21 November 2007)
30 * Fixed memory leak in ginac_yylex().
31 * Fixed memory leaks in mul::eval() and power::eval().
32 * Fixed macro checking for version of libreadline (Mac OS X).
33 * Fixed broken preprocessor instruction in excompiler.cpp.
34 * Fixed broken module loading in excompiler.cpp.
35 * info(info_flags::has_indices) now works for sums and products.
36 * Improved mul::expand().
37 * Improved CLN output.
39 1.4.0 (31 August 2007)
40 * New tinfo mechanism.
41 * Removed rtt from class symbol.
42 * Faster archiving by adding a map from strings to indices in the atoms vector.
43 * Improved unarchiving: algorithms order N instead of order N^2.
44 * Added compile function, excompiler class.
46 * Added step function to GiNaCs built-in functions.
47 * Added is_polynomial() method.
48 * Added real_part() and imag_part() methods.
49 * Added matrix::is_zero_matrix() method.
50 * Added evalm() method to pseries class.
51 * Improved dummy index renaming.
52 * Many improvements for class clifford.
53 * New flag for positive symbols/numbers, added possymbol class.
54 * Added programming examples in doc/examples
56 1.3.9 (21 November 2007)
57 Backporting bug-fix release from version 1.4.1.
59 1.3.8 (28 August 2007)
60 * Drop support of ginac-config and ginac.m4. Please use pkg-config instead.
61 * atan2(y,x) branch cut correction.
62 * Fixed bug in series expansion.
63 * Additional transformations for mul and power.
64 * Clifford units now honor representation labels.
65 * Correct csrc output for idx and fderivative.
66 * Improved handling of convergence transformationis for Li/G.
67 * Fix compilation issues with prereleases of GCC 4.3.
68 * info_flags::expanded added.
69 * input_parser also accepts pow().
70 * texinfo.tex removed from package.
72 1.3.7 (05 February 2007)
73 * Fixed bug in expansion of power.
74 * Fixed bugs in functions S() (infinite loop), H() and zeta() (wrong results).
75 * Rebuilt bison related files with bison version 2.3 (fixes parse error bugs).
76 * Improved power::eval().
77 * Improved libreadline detection.
79 1.3.6 (13 December 2006)
80 * Better worst case behavior in heuristic gcd.
81 * Improved collecting for sparse multivariate polynomials.
82 * Improved collect_common_factors.
83 * Fixed bug in numerical evaluation of multiple polylogs.
84 * Fixed numerical integration of complex functions.
85 * Fixed bug in tensor::replace_contr_index().
87 1.3.5 (17 August 2006)
88 * Re-built bison related files that caused bugs with gcc 4.
89 * Fixed bugs in fderivative::match_same_type(), expairseq::match(),
90 expand_dummy_sum(), and expairseq::map().
91 * Fixed template specialization for class container to be gcc 4.2 compliant.
92 * Output in csrc mode is now -x instead of -1.0*x.
93 * Fixed tutorial and reference generation in html/pdf/ps format.
94 * Modified autotool configuration to allow for compilation on MinGW.
95 * Debian packaging files updated.
98 * More general index dimensions are now possible.
99 * Improved algebraic substitutions.
100 * Fixed wrong matching in .has().
101 * Fixed bug in differentiation of a power.
102 * collect_common_factors also works with negative powers of common factors now.
103 * Code clean-up and preparations for upcoming cln 1.2.
105 1.3.3 (24 October 2005)
106 * Fixed bug occuring in algebraic substitutions with expressions involving
108 * Fixed bug that selected the wrong algorithm for determinants of purely
109 numeric matrices with at least one floating point element.
110 * Fixed bug in function H that caused an infinite recursion for arguments
112 * Fixed const-correctness in printing handler for GCC 4.0.2.
113 * Made lookup in adaptivesimpson precision-aware.
114 * Added series expansion for functions (classical) Li and S around x==0.
115 * Added fsolve() numerical univariate real-valued function solver.
116 * Added functions sub_matrix() and reduced_matrix().
117 * Small cleanups. Less warnings with latest GCC.
120 * GCD avoids to produce expanded expressions.
121 * Fixed bug in expanding expressions containing dummy indices.
122 * Fixed static initialization order bug.
123 * collect_common_factors now works with powers.
124 * Modernized configuration scripts.
127 * integral() and eval_integ() can be used from ginsh.
128 * Integrals can be series-expanded.
129 * Fixed a library initialization problem.
130 * GiNaC compiles from tarball even if lex/flex is missing.
131 * Fixed bugs in canonicalize_clifford(), clifford_prime() and clifford_to_lst().
132 * clifford_moebius_map(), remove_dirac_ONE() and LaTeX output of Clifford
133 objects now care about representation labels.
135 * Better output for slashed expressions
137 1.3.0 (19 October 2004)
138 * The Clifford classes have been generalized to allow working with Clifford
139 algebras generated by arbitrary symmetric tensors or matrices. Also, a lot
140 of new functions for Clifford algebras have been added, including
141 automorphisms and Moebius transformations. [V. Kisil]
142 * Added some basic symbolic and numeric integration facilities. [C. Dams]
143 * The multiple polylogarithm Li() now evaluates numerically for arbitrary
145 * New functions G(a,y) and G(a,s,y) added (another notation for multiple
148 1.2.4 (12 October 2004)
149 * Added ex::unitcontprim() to compute the unit, content, and primitive parts
150 of a polynomial in one go.
151 * binomial(n, k) evaluates for non-integer arguments n.
152 * Li(2,x) now evaluates for +-I.
154 * Fixed bug in Li(n,x) (if Li(2,x) was calculated with high precision the
155 enlargement of the look-up table caused a segmentation fault).
156 * Fixed another bug in the series expansion of powers, and a bug in
159 1.2.3 (13 August 2004)
160 * Added variants of dirac_trace() and color_trace() that take the trace over
161 more than one representation label by specifying a set or list of labels.
162 * diracgamma::contract_with() uses Chisholm identities in 4 dimensions to
163 produce more compact results.
164 * Fixed a bug in the series expansion of powers.
165 * The --enable-html-doc and --enable-ps-doc configure options are gone.
166 Documentation in HTML, DVI, PostScript, and PDF formats is now built with
167 "make html", "make dvi", "make ps", and "make pdf", respectively. The only
168 documentation that gets built by default are the tutorial in .info format
171 1.2.2 (3 August 2004)
172 * Added const_preorder_iterator and const_postorder_iterator classes (and
173 associated methods ex::pre/postorder_begin/end()) providing tree traversal
175 * Fixed the LaTeX output of the varidx class.
176 * Fixed bugs in series expansion and complex conjugation.
177 * (p.i*p.i).get_free_indices() returns the correct result () instead of (.i).
178 * Symbolic functions without any eval(), evalf() etc. functions now work
180 * integer_content(), content(), and primpart() now also work for polynomials
181 with rational coefficients (calculating the LCM of coefficients'
183 * Added method matrix::rank().
184 * Added function resultant().
185 * Added integer_content() function to ginsh.
187 1.2.1 (23 April 2004)
188 * Fixed infinite recursion in atan2_evalf() and improved atan2_eval().
189 * Added automatic evaluations for trigonometric functions with negative
190 arguments (e.g. sin(-2) -> -sin(2)).
191 * Fixed a static initialization order goof-up.
192 * Fixed various bugs in series expansion.
194 1.2.0 (19 March 2004)
195 * Added a structure<T> template class for the easy creation of user-defined
197 * Added support for (acyclic) visitors, to allow cleaner implementations of
198 algebraic algorithms.
199 * Added a const_iterator class that can be used instead of op()/nops().
200 * Completely revamped the implementation of expression output. It is now
201 possible to add new output formats, to change the behavior of predefined
202 formats at run-time, and to have different output styles for algebraic
204 * Symbols can be made non-commutative.
205 * Added a method ex::conjugate() and a function conjugate() for complex
206 conjugation. Symbols can be declared as real or complex-valued.
207 * Improved the speed of subs(), normal(), to_rational() and to_polynomial()
208 by the use of maps instead of lists. The old forms
209 subs(const lst & ls, const lst & lr, unsigned options)
210 to_rational/to_polynomial(lst & repl)
211 are still available for compatibility, but using the new forms
212 subs(const exmap & m, unsigned options)
213 to_rational/to_polynomial(exmap & repl)
214 is more efficient, especially when the number of replacements is large.
215 * quo(), rem(), prem(), sprem(), decomp_rational(), unit(), content(),
216 primpart() and matrix::charpoly() now take a "const ex &" instead of a
218 * Redundant expressions (two ex pointing to different objects are found to be
219 equal in compare()) are now actively deleted/fused to conserve memory and
220 speed up subsequent comparisons. This behavior can be suppressed on a
221 per-object level with status_flags::not_shareable. Lists and matrices are
222 not shareable by default.
223 * Lots of internal streamlining and optimizations.
224 * Caveats for class implementors:
225 - basic::copy() and basic::destroy() are gone; classes derived from
226 basic can use the defaults for the assignment operator and copy
228 - basic::subs(), basic::normal(), basic::to_rational() and
229 basic::to_polynomial() take 'exmap' objects instead of lists.
230 - basic::subs() now descends into subexpressions (if accessible via
231 nops()/op()/let_op()). If you have a custom implementation of subs()
232 that calls basic::subs() after substituting subexpressions, this needs
233 to be changed to a call to subs_one_level().
234 - lst::thislst() and exprseq::thisexprseq() renamed to thiscontainer().
235 - thiscontainer() and associated constructors now take a std::auto_ptr.
236 - Overloading basic::print() is now deprecated. You should use
237 print_func<>() class options instead.
239 1.1.7 (11 March 2004)
240 * Fixed a bug in canonicalize_clifford().
241 * Series expansion now works predictably. All terms with the exponent of the
242 expansion variable smaller than the given order are calculated exactly. If
243 the series is not terminating, the Order function is (at least) of the given
246 1.1.6 (22 January 2004)
247 * Added a function option "dummy()" which means "no options". This simplifies
248 the implementation of symbolic functions which are not to be further
250 * Removed a bug in the numerical evaluation of Li() that caused the system
251 to hang for certain parameter combinations.
252 * Fixed a bug in the calculation of hash values for indices that could lead
253 to wrong results or bogus error messages from simplify_indexed().
254 * Fixed a bug in the evaluation of harmonic polylogarithms for complex
255 arguments with positive imaginary part.
257 1.1.5 (5 November 2003)
258 * Harmonic polylogarithms now numerically evaluate for arbitrary arguments
259 (parameter must still be positive integers).
260 * The zeta function now can also be given a lst as a parameter in which case
261 it becomes a multiple zeta value. The use of mZeta is deprecated.
262 * The order of parameters for the multiple polylogarithm has been corrected.
263 * Documentation for the nested sums functions zeta, harmonic polylog, multiple
264 polylog, etc. has been added.
266 1.1.4 (17 October 2003)
267 * Lists and matrices can now be initialized from comma-separated lists of
268 expressions, like this:
278 This is both faster and produces much smaller code than the old constructors
279 lst(ex, ex, ...) and matrix(unsigned, unsigned, lst), especially in the case
280 of matrices, and is now the recommended way to create these objects.
281 * The function mZeta now evaluates much faster for arbitrary parameters. The
282 harmonic and multiple polylogarithms evaluate considerably faster and check
283 for convergence. The order of parameters for the harmonic polylogarithm
286 1.1.3 (22 August 2003)
287 * Added new symbolic functions for better integration with nestedsums:
288 (multiple) polylogarithm Li(), Nielsen's generalized polylogarithm S(),
289 harmonic polylogarithm H(), and multiple zeta value mZeta().
290 * New exhashmap<T> template intended as a drop-in replacement for
291 std::map<ex, T, ex_is_less> using GiNaC's hashing algorithms.
293 1.1.2 (11 August 2003)
294 * Fixed a bug in the unarchiving of sums and products: terms were not
295 reordered in a canonical way.
296 * Fixed a bug in normal()/numer_denom(): denominator was not made unit
297 normal if it was a simple number.
298 * Improved the speed of subs() in some cases.
301 * lst (and exprseq) provide iterators for read-only element access. For
302 sequential access this is one order faster than using op().
303 * Implemented relational::subs() (this was done in 1.0.9 but inadvertently
304 omitted from the 1.1 branch).
305 * pole_error and do_taylor are available to library users.
306 * Added on-line help and Tab-completion for print(), iprint(), print_latex()
307 and print_csrc() in ginsh.
310 * Removed deprecated macros is_ex_a, is_ex_exactly_a and friends for good.
311 * The scalar_products mechanism allows the specification of an index dimension.
312 * Removed dirac_gamma6/7().
313 * Added ex::to_polynomial().
314 * subs() accepts an optional "options" argument. The option
315 subs_option::subs_algebraic enables "smart" substitutions in products and
317 * Added stream manipulators "dflt", "latex", "python", "python_repr", "tree",
318 "csrc", "csrc_float", "csrc_double", "csrc_cl_N", "index_dimensions" and
319 "no_index_dimensions" to control the output format. Calling basic::print()
320 directly is now deprecated.
321 * Made the hashing more simple and efficient.
322 * Caveats for class implementors:
323 - basic::subs(): third argument changed from "bool" to "unsigned"
324 - unarchiving constructor and basic::unarchive(): "const" removed from
326 - basic::let_op() should only be implemented if write access to
327 subexpressions is desired
328 - simplify_ncmul() renamed to eval_ncmul()
329 - simplified_ncmul() renamed to hold_ncmul()
330 - nonsimplified_ncmul() renamed to reeval_ncmul()
332 1.0.14 (1 March 2003)
333 * Improved the C-source output: complex numbers are printed correctly (using
334 the STL complex<> template or cln::complex()), rational numbers use cl_RA()
335 in the CLN output, and small integers are printed in a more compact format
336 (e.g. "2.0" instead of "2.0000000e+00").
337 * function_options::set_return_type() and function_options::do_not_evalf_params()
340 1.0.13 (27 January 2003)
341 * Contracting epsilon tensors with Euclidean indices now works.
342 * Improved dummy index symmetrization in sums.
343 * Added dirac_gammaL/R(), which can be used instead of dirac_gamma6/7()
344 but are single objects, to allow for a more compact notation of Dirac
346 * Powers with negative numeric exponents are printed as fractions in the
348 * Added symbolic_matrix() for the convenient creation of matrices filled
350 * Added collect_common_factors() which collects common factors from the
352 * simplify_indexed() converts "gamma~mu*p.mu" to "p\".
354 1.0.12 (30 October 2002)
355 * Fixed a bug in power::expand() that could produce invalid expressions.
356 * The input parser no longer ignores extra data following accepted input.
357 * Improved the CLN C-source output (integers are printed as integers, and
358 floating point numbers include the precision).
359 * Fixed a problem in the LaTeX-output of negative fractions.
360 * Added print_latex() and print_csrc() to ginsh.
361 * The sprem() function is now public.
363 1.0.11 (18 September 2002)
364 * Fixed a possible memory corruption in contractions of indexed objects with
365 delta or metric tensors.
366 * Computing the derivative of a power series object with respect to a symbol
367 that is not the expansion variable now works correctly.
368 * Several bugfixes in code generation.
370 1.0.10 (24 July 2002)
371 * Powers of indexed objects are now parenthesized correctly in LaTeX output.
372 * Input parser handles indices (they have to be specified in the same list
374 * Added some limited support for subspaces in the idx and tensor classes.
375 * Fixed a bug in canonicalize() (antisymmetric canonicalization of an already
376 sorted list containing two or more equal objects failed to return 0).
379 * simplify_indexed() now raises/lowers dummy indices to canonicalize the index
380 variance. This allows some simplifications that weren't possible before,
381 like eps~a.b~c~d*X.a*X~b -> 0 and X.a~a-X~a.a -> 0.
382 * Implemented relational::subs().
383 * Fixed bug in simplify_ncmul() for clifford objects.
385 1.0.8 (31 March 2002)
386 * Improvements in memory usage of the expand() methods.
388 1.0.7 (18 March 2002)
389 * Fixed LaTeX output of indexed and matrix objects.
390 * Fixed matrix::pow(n) for n==0 and added helper functions to create unit
391 matrices "ex unit_matrix(unsigned, unsigned)".
394 * "(x+1).subs(x==x-1)" now returns the correct result "x" instead of "x-1".
396 1.0.5 (27 January 2002)
397 * (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
398 of any class (except add/mul/ncmul/numeric) for "s". They should even work
399 if "s" is a "power" object, as long as the exponent is non-integer, but with
400 some limitations. For example, you can "collect(a*2^x+b*2^x, 2^x)" to get
401 "(a+b)*2^x", but "degree(2^(3*x), 2^x)" yields 0 instead of 3).
402 * Fixed a small output bug.
404 1.0.4 (24 January 2002)
405 * Speedup in expand().
406 * Faster Bernoulli numbers (Markus Nullmeier).
407 * Some minor bugfixes and documentation updates.
409 1.0.3 (21 December 2001)
410 * Fixed a bug where quo() would call vector::reserve() with a negative
412 * Fix several bugs in code generation.
414 1.0.2 (19 December 2001)
415 * Input parser recognizes "sqrt()", which is also used in the output.
416 * divide(a,b,q) only modifies q if the division succeeds; also, divide(a,b,a)
418 * Fixed small bug in dummy index renaming which could cause it to not
419 recognize renamable indices in some cases.
420 * power::degree() and power::ldegree() throw an exception when encountering
421 a non-integer exponent.
422 * Add output-support for Python bindings.
424 1.0.1 (22 November 2001)
425 * Function sqrfree() handles a few more cases now.
426 * Class relational has real canonical ordering now.
427 * Handle obscene libreadline version numbers when building ginsh.
429 1.0.0 (6 November 2001)
430 * Some internal reorganization resulting in a general speed-up.
431 * The last 3 evaluated expressions in ginsh are now referred to with the
432 tokens '%', '%%' and '%%%'. The old '"', '""' and '"""' remain for
433 compatibility but may be removed in a future version of GiNaC.
435 0.9.4 (20 September 2001)
436 * Functions have better support for external scripting languages.
437 * Interface cleanups and bugfixes.
438 * Fix silly bug in evalf() that prevented things like 2^Pi being computed.
440 0.9.3 (16 August 2001)
441 * series expansion now much more consistent for small order expansion.
442 * lsolve() accepts algorithmic hint as parameter.
445 * Epsilon tensor is more functional.
446 * simplify_indexed() is better at detecting expressions that vanish for
448 * Several little bugfixes and consistency enhancements.
451 * Ctors of class numeric are not explicit any more. All built-in callers for
452 pseudofunctions are now templated and default to ex arguments which relaxes
453 the need for explicit ctors.
454 * New functions/methods:
456 - remove_first(), remove_last(), sort() and unique() for lists
457 - symmetrize_cyclic()
459 * Instead of just totally symmetric or antisymmetric, complex symmetries
460 can now be defined for indexed objects. Symmetries are described by a
461 tree of "symmetry" objects that is constructed with the sy_none(),
462 sy_symm(), sy_anti() and sy_cycl() functions. The symmetry of a function
463 with respect to its arguments can also be defined (this is currently
464 only used for the Beta function).
465 * Generalized map() to take a function object instead of a function pointer.
466 This allows passing an arbitrary number of additional state to the
467 function being called.
468 * color_trace(), dirac_trace(), diff(), expand(), evalf() and normal() work
469 better with container classes, e.g. using color_trace() on a relation will
470 take the trace on both sides, using diff() on a matrix differentiates every
472 * diff() works properly with non-commutative products and indexed objects.
473 * New option flag "expand_function_args" for expand().
474 * Supplement some (now deprecated) macros by inlined template functions:
475 - is_of_type(foo, type) -> is_a<type>(foo)
476 - is_ex_of_type(foo, type) -> is_a<type>(foo)
477 - is_exactly_of_type(foo, type) -> is_exactly_a<type>(foo)
478 - is_ex_exactly_of_type(foo, type) -> is_exactly_a<type>(foo)
479 - ex_to_foobar(baz) -> ex_to<foobar>(baz)
480 * rem(c, p[x], x) (c: numeric, p[x]: polynomial) erroneously returned p[x]
482 * Small bugfixes in pattern matching.
483 * Updated libtool to version 1.4.
486 * In the output and in ginsh, lists are now delimited by { } braces, and
487 matrices are delimited by single [ ] brackets.
488 * simplify_indexed() renames dummy indices so, e.g., "a.i*a.i+a.j*a.j" gets
489 simplified to "2*a.i*a.i" (or "2*a.j*a.j").
490 * New functions/methods:
491 - canonicalize_clifford() (helpful when comparing expressions containing
493 - symmetrize() and antisymmetrize()
494 - numer_denom() (return numerator and denominator in one call)
495 - map() (apply function to subexpressions)
496 - evalm() (evaluate sums, products and integer powers of matrices)
497 * Added a new function match() for performing pattern matching. subs() and
498 has() also accept patterns as arguments. A pattern can be any expression,
499 optionally containing wildcard objects. These are constructed with the
500 call "wild(<unsigned>)" and are denoted as "$0", "$1" etc. in the output
502 * Positive integer powers of non-commutative expressions (except matrices)
503 are automatically expanded.
504 * Removed cint subdirectory, ginaccint is a separate package now due to
505 packaging considerations.
506 * Several little bugfixes.
509 * color and clifford classes are functional and documented.
510 * New "spinidx" class for dotted/undotted indices.
511 * Predefined spinor metric tensor (created by spinor_metric()).
512 * Symbols can have a LaTeX name, e.g. symbol s("s", "\\sigma");
513 * LaTeX output of indexed objects is much nicer.
514 * Fixed some build problems (with recent libreadline).
515 * Semantics of arithmetic operators now follows the C++ rules more strictly.
517 0.8.2 (24 April 2001)
518 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() work with
519 non-symbols as the second argument in ginsh.
520 * the argument to collect() can be a list of objects in which case the
521 result is either a recursively collected polynomial, or a polynomial in
522 a distributed form with terms like coeff*x1^e1*...*xn^en, as specified by
523 the second argument to collect().
524 * Several bugfixes (including a nasty memory leak in .normal()).
525 * class matrix: solve() doesn't call algorithms redundantly any more and
526 inverse() falls back to solve() which works in more general cases.
528 0.8.1 (16 April 2001)
529 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() can now
530 be used with constants, functions and indexed expressions as well, so you
531 can use it to collect by powers of Pi or sin(x), or to find the coefficient
534 - it only works with symbols, constants, functions and indexed expressions,
535 trying to find the coefficient of, e.g., "x^2" or "x+y" won't work;
536 - it does not know about dummy index summations; the coefficient of
537 gamma~0 in p.mu*gamma~mu should be p.0 but is returned as 0;
538 - using coeff(), tcoeff(), lcoeff() or collect() on elements of
539 noncommutative products might return wrong or surprising results.
540 * subs() no longer only substitutes symbols and indices but performs a more
541 general "syntactic substitution", i.e. it substitutes whole objects in sub-
542 expressions. You can subs((a+b)^2,a+b==3) and get 9, but subs(a+b+c,a+b==3)
545 - substituting numerics (subs(expr, 2==4)) will not replace then in all
546 occurences; in general, you shouldn't substitute numerics, though.
547 * Added preliminary (re)implementations of color and clifford classes.
548 * simplify_indexed(): contraction of symmetric and antisymmetric tensors
550 * Replaced the various print*() member functions by a single print() that
551 takes a print_context object that determines the output formatting. This
552 should make it easier to add more output types, such as LaTeX output,
553 which is based on work by Stefan Weinzierl.
554 * Added functions to retrieve the properties stored in archive objects
555 outside of unarchive() (for printing or debugging purposes).
556 * Some bugfixes (indexed objects, archive writing).
557 * .collect() on non-polynomials is now algebraically correct.
559 0.8.0 (24 March 2001)
560 * Complete revamp of indexed objects. Instead of multiple classes for
561 indexed things and their indices there is now only one "indexed" class
562 and two types of indices: "idx" for simple indices and "varidx" for
563 indices with variance. There are predefined delta, epsilon and metric
564 tensors, and a function simplify_indexed() that performs canonicalization
565 and dummy index summations. Matrix objects can be indexed for doing simple
567 * Added an option "expand_indexed" to expand() to perform expansion of
568 indexed objects like (a+b).i -> a.i + b.i
569 * Renamed get_indices() to get_free_indices(), which no longer returns
570 dummy indices and checks the consistency of indices in sums.
571 * sqrfree() factorization fixed and improved syntactically.
572 * subs() works on matrices.
573 * Matrices can be constructed from flat list of elements; diagonal matrices
574 can be constructed from list of diagonal elements with diag_matrix().
575 * Fixed memory leak in expand().
576 * Operator% for objects of class ncmul has gone. Use operator* now for that
577 case too, which is much more natural.
579 0.7.3 (28 February 2001)
580 * Several bugfixes and minor performance tunings.
581 * Added a section to the tutorial about adding new algebraic classes to GiNaC.
582 * Closed many in-source documentation gaps.
584 0.7.2 (17 February 2001)
585 * Several bugfixes in power series expansion, one of them critical.
587 0.7.1 (7 February 2001)
588 * Fix problems with Cint that were caused by CLN's overloaded operator new.
589 * Fix compilation errors with GCC3.
590 * normal() handles large sums of fractions better and normalizes the exponent
591 of power expressions.
592 * expand() always expands the exponent and transforms x^(a+b) -> x^a*x^b.
593 * Some bugfixes of series expansion around branch cuts of special functions.
595 0.7.0 (15 December 2000)
596 * Requires CLN 1.1 now. Class numeric doesn't use an indirect pointer to the
597 actual representation any more. This is a speedup.
598 * mul::expand() was reengineered to not allocate excess temporary memory.
599 * Non-integer powers of a symbol are treated as constants by (l)degree() and
600 coeff(). Using these functions on an expression containing such powers used
601 to fail with an internal error message. The side-effect is that collect()
602 can be used on expressions which are not polynomials.
603 * Added a man page for the ginac-config script.
604 * Ctor of numeric from char* honors Digits.
606 0.6.4 (10 August 2000)
607 * Complete revamp of methods in class matrix. Some redundant (and poor)
608 implementations of elimination schemes were thrown out. The code is now
609 highly orthogonal, more flexible and much more efficient.
610 * Some long standing and quite nasty bugs were discovered and fixed in the
611 following functions: add::normal(), heur_gcd(), sr_gcd() and Order_eval().
614 * Derivatives are now assembled in a slightly different manner (i.e. they
615 might 'look' different on first sight). Under certain circumstances this
616 can result in a dramatic speedup because it gives hashing a better chance,
617 especially when computing higher derivatives.
618 * Some series expansions of built-in functions have been reengineered.
619 * The algorithm for computing determinants can be chosen by the user. See
620 ginac/flags.h and ginac/matrix.h.
621 * The Dilogarithm (Li2) now has floating point evaluation, derivative and a
622 proper series expansion.
623 * Namespace 'std' cleanly disentangled, as demanded by ISO/EIC 14882-1998(E).
624 * Some minor bugfixes, one major lsolve()-bugfix and documentation updates.
627 * ginaccint.bin is now launched by a binary program instead of by a scripts.
628 This allows us to write #!-scripts. A small test suite for GiNaC-cint was
630 * Several minor bugfixes.
633 * Cleanup in the interface to Cint. The required version is now Cint 5.14.38.
634 * Several bugfixes in target install.
637 * IMPORTANT: Several interface changes make programs written with GiNaC
638 much clearer but break compatibility with older versions:
639 - f(x).series(x,p[,o]) -> f(x).series(x==p,o)
640 - series(f(x),x,p[,o]) -> series(f(x),x==p,o)
641 - gamma() -> tgamma() (The true Gamma function, there is now also
642 log(tgamma()), called lgamma(), in accord with ISO/IEC 9899:1999.)
643 - EulerGamma -> Euler
644 * #include'ing ginac.h defines the preprocessor symbols GINACLIB_MAJOR_VERSION,
645 GINACLIB_MINOR_VERSION, and GINACLIB_MICRO_VERSION with the respective GiNaC
646 library version numbers.
647 * Expressions can be constructed from strings like this:
648 ex e("2*x+y", lst(x, y));
649 * ex::to_rational() provides a way to extend the domain of functions like
650 gcd() and divide() that only work on polynomials or rational functions (the
651 good old ex::subs() method reverses this process)
652 * Calling diff() on a function that has no derivative defined returns the
653 inert derivative function "Derivative".
654 * Several new timings in the check target. Some of them may be rather rude
655 at your machine, feel free to interrupt them.
657 0.5.4 (15 March 2000)
658 * Some algorithms in class matrix (notably determinant) were replaced by
659 less brain-dead ones and should now have much better performance.
660 * Checks were completely reorganized and split up into three parts:
661 a) exams (small regression tests with predefined input)
662 b) checks (lenghty coherence checks with random input)
663 c) timings (for coherence and crude benchmarking)
664 * Behaviour of .evalf() was changed: it doesn't .evalf() any exponents.
665 * Expanded expressions now remember they are expanded to prevent
666 superfluous expansions.
667 * Small bugfixes and improvements in the series expansion.
669 0.5.3 (23 February 2000)
670 * A more flexible scheme for registering functions was implemented,
671 allowing for remembering, too.
674 0.5.2 (16 February 2000)
675 * Mainly fixes a bug in the packaging of release 0.5.1.
677 0.5.1 (14 February 2000)
678 * Fixes a small number of bugs.
680 0.5.0 (7 February 2000)
681 * Expressions can be written ("archived") to files and read therefrom.
682 * Addition of GiNaC-cint, which lets you write complete programs in
683 an interactive shell-like manner in your favoured programming
686 0.4.1 (13 December 1999)
687 * Series Expansion of Gamma function and some other trigonometric
688 functions at their poles works now.
689 * Many more evaluations of special functions at points where
691 * info_flags::rational doesn't return true for complex extensions
692 any more---use info_flags::crational for the old behaviour.
693 info_flags::integer and -::cinteger work similarly, the same
694 holds for types like info_flags::rational_polynomial.
696 0.4.0 (26 November 1999)
697 * First public release.