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