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