On Sun, Aug 13, 2006 at 12:38:44PM +0200, Georg Baum wrote: > Am Mittwoch, 9. August 2006 02:07 schrieb Enrico Forestieri: [...] > > Please find attached a patch which monotonically improves such support. > > I tested it with octave, maxima, and mathematica. > > This patch is big, and I don't understand the interface well enough to > comment it. If you split out the obvious stuff (e.g. math_exfuncinset.C, > new mathematica/maxima methods etc) I will apply that, but for the rest > you should try to get a comment from André.
Roughly speaking, for each CAS program xxx a class XxxStream is defined and the << operator is overloaded such that to obtain a representation of a MathArray or other objects in that particular program language. The patch may seem big but the relevant changes are practically confined to math_extern.C. IMHO it does not make sense to apply separately from the rest the new mathematica/maxima methods as they do not solve the parsing problems I encountered, so let's see what André has to say. All I can say is that I think I understood the interface and tested the patch quite extensively. It works for me with both maxima and mathematica on Windows and *nix. For non-symbolic computations it also works with octave. I could not test maple as I don't have it, but I am sure I didn't break anything in that respect. -- Enrico