]> www.ginac.de Git - ginac.git/blob - NEWS
* Fix incompatibilities with recent versions of libreadline by having
[ginac.git] / NEWS
1 This file records noteworthy changes.
2
3 0.8.3 (<date>)
4 * Fix some build-problems (with recent libreadline).
5
6 0.8.2 (24 April 2001)
7 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() work with
8   non-symbols as the second argument in ginsh.
9 * the argument to collect() can be a list of objects in which case the
10   result is either a recursively collected polynomial, or a polynomial in
11   a distributed form with terms like coeff*x1^e1*...*xn^en, as specified by
12   the second argument to collect().
13 * Several bugfixes (including a nasty memory leak in .normal()).
14 * class matrix: solve() doesn't call algorithms redundantly any more and
15   inverse() falls back to solve() which works in more general cases.
16
17 0.8.1 (16 April 2001)
18 * degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() can now
19   be used with constants, functions and indexed expressions as well, so you
20   can use it to collect by powers of Pi or sin(x), or to find the coefficient
21   of gamma~0.
22   Limitations:
23    - it only works with symbols, constants, functions and indexed expressions,
24      trying to find the coefficient of, e.g., "x^2" or "x+y" won't work;
25    - it does not know about dummy index summations; the coefficient of
26      gamma~0 in p.mu*gamma~mu should be p.0 but is returned as 0;
27    - using coeff(), tcoeff(), lcoeff() or collect() on elements of
28      noncommutative products might return wrong or surprising results.
29 * subs() no longer only substitutes symbols and indices but performs a more
30   general "syntactic substitution", i.e. it substitutes whole objects in sub-
31   expressions. You can subs((a+b)^2,a+b==3) and get 9, but subs(a+b+c,a+b==3)
32   doesn't do anything.
33   Limitations:
34    - substituting numerics (subs(expr, 2==4)) will not replace then in all
35      occurences; in general, you shouldn't substitute numerics, though.
36 * Added preliminary (re)implementations of color and clifford classes.
37 * simplify_indexed(): contraction of symmetric and antisymmetric tensors
38   is zero.
39 * Replaced the various print*() member functions by a single print() that
40   takes a print_context object that determines the output formatting. This
41   should make it easier to add more output types, such as LaTeX output,
42   which is based on work by Stefan Weinzierl.
43 * Added functions to retrieve the properties stored in archive objects
44   outside of unarchive() (for printing or debugging purposes).
45 * Some bugfixes (indexed objects, archive writing).
46 * .collect() on non-polynomials is now algebraically correct.
47
48 0.8.0 (24 March 2001)
49 * Complete revamp of indexed objects. Instead of multiple classes for
50   indexed things and their indices there is now only one "indexed" class
51   and two types of indices: "idx" for simple indices and "varidx" for
52   indices with variance. There are predefined delta, epsilon and metric
53   tensors, and a function simplify_indexed() that performs canonicalization
54   and dummy index summations. Matrix objects can be indexed for doing simple
55   linear algebra.
56 * Added an option "expand_indexed" to expand() to perform expansion of
57   indexed objects like (a+b).i -> a.i + b.i
58 * Renamed get_indices() to get_free_indices(), which no longer returns
59   dummy indices and checks the consistency of indices in sums.
60 * sqrfree() factorization fixed and improved syntactically.
61 * subs() works on matrices.
62 * Matrices can be constructed from flat list of elements; diagonal matrices
63   can be constructed from list of diagonal elements with diag_matrix().
64 * Fixed memory leak in expand().
65 * Operator% for objects of class ncmul has gone.  Use operator* now for that
66   case too, which is much more natural.
67
68 0.7.3 (28 February 2001)
69 * Several bugfixes and minor performance tunings.
70 * Added a section to the tutorial about adding new algebraic classes to GiNaC.
71 * Closed many in-source documentation gaps.
72
73 0.7.2 (17 February 2001)
74 * Several bugfixes in power series expansion, one of them critical.
75
76 0.7.1 (7 February 2001)
77 * Fix problems with Cint that were caused by CLN's overloaded operator new.
78 * Fix compilation errors with GCC3.
79 * normal() handles large sums of fractions better and normalizes the exponent
80   of power expressions.
81 * expand() always expands the exponent and transforms x^(a+b) -> x^a*x^b.
82 * Some bugfixes of series expansion around branch cuts of special functions.
83
84 0.7.0 (15 December 2000)
85 * Requires CLN 1.1 now.  Class numeric doesn't use an indirect pointer to the
86   actual representation any more.  This is a speedup.
87 * mul::expand() was reengineered to not allocate excess temporary memory.
88 * Non-integer powers of a symbol are treated as constants by (l)degree() and
89   coeff().  Using these functions on an expression containing such powers used
90   to fail with an internal error message.  The side-effect is that collect()
91   can be used on expressions which are not polynomials.
92 * Added a man page for the ginac-config script.
93 * Ctor of numeric from char* honors Digits.
94
95 0.6.4 (10 August 2000)
96 * Complete revamp of methods in class matrix.  Some redundant (and poor)
97   implementations of elimination schemes were thrown out.  The code is now
98   highly orthogonal, more flexible and much more efficient.
99 * Some long standing and quite nasty bugs were discovered and fixed in the
100   following functions: add::normal(), heur_gcd(), sr_gcd() and Order_eval().
101
102 0.6.3 (25 July 2000)
103 * Derivatives are now assembled in a slightly different manner (i.e. they
104   might 'look' different on first sight).  Under certain circumstances this
105   can result in a dramatic speedup because it gives hashing a better chance,
106   especially when computing higher derivatives.
107 * Some series expansions of built-in functions have been reengineered.
108 * The algorithm for computing determinants can be chosen by the user.  See
109   ginac/flags.h and ginac/matrix.h.
110 * The Dilogarithm (Li2) now has floating point evaluation, derivative and a
111   proper series expansion.
112 * Namespace 'std' cleanly disentangled, as demanded by ISO/EIC 14882-1998(E).
113 * Some minor bugfixes, one major lsolve()-bugfix and documentation updates.
114
115 0.6.2 (21 June 2000)
116 * ginaccint.bin is now launched by a binary program instead of by a scripts.
117   This allows us to write #!-scripts.  A small test suite for GiNaC-cint was
118   added.
119 * Several minor bugfixes.
120
121 0.6.1 (18 May 2000)
122 * Cleanup in the interface to Cint.  The required version is now Cint 5.14.38.
123 * Several bugfixes in target install.
124
125 0.6.0 (11 May 2000)
126 * IMPORTANT: Several interface changes make programs written with GiNaC 
127   much clearer but break compatibility with older versions:
128   - f(x).series(x,p[,o]) -> f(x).series(x==p,o)
129   - series(f(x),x,p[,o]) -> series(f(x),x==p,o)
130   - gamma() -> tgamma()  (The true Gamma function, there is now also
131     log(tgamma()), called lgamma(), in accord with ISO/IEC 9899:1999.)
132   - EulerGamma -> Euler
133 * #include'ing ginac.h defines the preprocessor symbols GINACLIB_MAJOR_VERSION,
134   GINACLIB_MINOR_VERSION, and GINACLIB_MICRO_VERSION with the respective GiNaC
135   library version numbers.
136 * Expressions can be constructed from strings like this:
137     ex e("2*x+y", lst(x, y));
138 * ex::to_rational() provides a way to extend the domain of functions like
139   gcd() and divide() that only work on polynomials or rational functions (the
140   good old ex::subs() method reverses this process)
141 * Calling diff() on a function that has no derivative defined returns the
142   inert derivative function "Derivative".
143 * Several new timings in the check target.  Some of them may be rather rude 
144   at your machine, feel free to interrupt them.
145
146 0.5.4 (15 March 2000)
147 * Some algorithms in class matrix (notably determinant) were replaced by
148   less brain-dead ones and should now have much better performance.
149 * Checks were completely reorganized and split up into three parts:
150   a) exams (small regression tests with predefined input)
151   b) checks (lenghty coherence checks with random input)
152   c) timings (for coherence and crude benchmarking)
153 * Behaviour of .evalf() was changed: it doesn't .evalf() any exponents.
154 * Expanded expressions now remember they are expanded to prevent
155   superfluous expansions.
156 * Small bugfixes and improvements in the series expansion.
157
158 0.5.3 (23 February 2000)
159 * A more flexible scheme for registering functions was implemented,
160   allowing for remembering, too.
161 * Some Bugfixes.
162
163 0.5.2 (16 February 2000)
164 * Mainly fixes a bug in the packaging of release 0.5.1.
165
166 0.5.1 (14 February 2000)
167 * Fixes a small number of bugs.
168
169 0.5.0 (7 February 2000)
170 * Expressions can be written ("archived") to files and read therefrom.
171 * Addition of GiNaC-cint, which lets you write complete programs in
172   an interactive shell-like manner in your favoured programming
173   language (i.e. C++).
174
175 0.4.1 (13 December 1999)
176 * Series Expansion of Gamma function and some other trigonometric
177   functions at their poles works now.
178 * Many more evaluations of special functions at points where
179   exact results exist.
180 * info_flags::rational doesn't return true for complex extensions
181   any more---use info_flags::crational for the old behaviour.
182   info_flags::integer and -::cinteger work similarly, the same
183   holds for types like info_flags::rational_polynomial.
184
185 0.4.0 (26 November 1999)
186 * First public release.