texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Problem of division in scheme.


From: Corcelle
Subject: Re: [Texmacs-dev] Problem of division in scheme.
Date: Wed, 7 Oct 2009 17:15:17 +0200 (CEST)

Hello,

> > > There are differences in the arithmetic of guile between 1.8*
> > > and before, due, among others, to the use of gmp.
> > > It is better not to depend to much on the arithmetic of guile...
> > > 
> > > Best wishes, --Joris
> > 
> > Thank you for the precision.
> > 
> > I use a lot this arithmetic of scheme-guile in the math extension of
> the graphics mode. In fact, all the constructions are based on complex
> operations.
> > What would be the best solution to go around this problem ? Use
> another "engine" for the calculus ? 
> 
> If you want to stick to scheme, which is probably simplest for what
> you want,
> then you can write your own scheme extension for complex arithmetic.

I tried this, replacing the problematic functions. Everything works fine for me 
now.
I'll add new functions if needed (if I discover new problems with calculus).

> 
> > In that case, which one should I choose and would it be as easy as
> scheme to use ?
> > It's true that, in that case, I could have more powerful tools for
> my calculations.
> 
> You may also use any of the TeXmacs plug-ins for doing the
> computations,
> e.g. Maxima (or Mathemagix, in a relatively near future).
> However, the communication is currently text-based, so not very
> suitable
> for intensive computations (except if you write all your routines in
> the plug-in).

Is there a place (a plugin perhaps) where I could find an example of such 
things ?

> 
> For the moment, Scheme is probably the best solution.

Yes and the simplest one for me.

> You may also experiment a bit with the goops,
> an object oriented extension of Guile which will allow you
> to overload mathematical operations, such as +, -, *, etc.
> For the moment, I do not use it, but it might be worth to
> investigate how robust it is.

I tried little things with goops but the documentation is rather unclear to me 
and I surely wouldn't be able to evaluate its robustness.

Thank you for your help.

Emmanuël

> 
> Best wishes, --Joris
> 
> 
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/texmacs-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]