GiNaC 0.9.1 released
Christian Bauer
cbauer at thep.physik.uni-mainz.de
Thu Jun 28 14:17:03 CEST 2001
MAIN SCREEN TURN ON.
HOW ARE YOU GENTLEMEN!!
WHAT HAPPEN?
YOU ARE ON THE WAY TO NEW FEATURES:
* Ctors of class numeric are not explicit any more. All built-in callers for
pseudofunctions are now templated and default to ex arguments which relaxes
the need for explicit ctors.
* New functions/methods:
- find()
- remove_first(), remove_last(), sort() and unique() for lists
- symmetrize_cyclic()
- decomp_rational()
* Instead of just totally symmetric or antisymmetric, complex symmetries
can now be defined for indexed objects. Symmetries are described by a
tree of "symmetry" objects that is constructed with the sy_none(),
sy_symm(), sy_anti() and sy_cycl() functions. The symmetry of a function
with respect to its arguments can also be defined (this is currently
only used for the Beta function).
* Generalized map() to take a function object instead of a function pointer.
This allows passing an arbitrary number of additional state to the
function being called.
* color_trace(), dirac_trace(), diff(), expand(), evalf() and normal() work
better with container classes, e.g. using color_trace() on a relation will
take the trace on both sides, using diff() on a matrix differentiates every
element etc.
* diff() works properly with non-commutative products and indexed objects.
* New option flag "expand_function_args" for expand().
* Supplement some (now deprecated) macros by inlined template functions:
- is_of_type(foo, type) -> is_a<type>(foo)
- is_ex_of_type(foo, type) -> is_a<type>(foo)
- is_exaclty_of_type(foo, type) -> is_exaclty_a<type>(foo)
- is_ex_exaclty_of_type(foo, type) -> is_exaclty_a<type>(foo)
- ex_to_foobar(baz) -> ex_to<foobar>(baz)
* rem(c, p[x], x) (c: numeric, p[x]: polynomial) erroneously returned p[x]
instead of c.
* Small bugfixes in pattern matching.
* Updated libtool to version 1.4.
WHAT YOU SAY?
DOWNLOAD EVERY 'GINAC': ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC
FOR GREAT JUSTICE,
Christian
--
/ Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/
More information about the GiNaC-devel
mailing list