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