I had a look at the matlab.py interface that you wrote. Scilab is very similar to Matlab and Octave so it made sense to look at those interfaces first.
After a first reading, I have to say i didn't have a clue at what was going on. I think this is mostly due to my unfamiliarity with Python, and secondarily due to my unfamiliarity with the design of interfaces. So I'm really starting (almost) from scratch here. If it was simply a matter of replacing all references to matlab or matlab-related commands or strings with their scilab equivalents, then I suppose I could try it, but then, if it was that easy why would you need me to write the interface? I have a feeling there's more to it than that. I will continue to look at the problem, and since I wanted to learn Python anyway I guess this problem and using sage are good ways to start. Again, don't wait for me if anybody wants to do it themselves. Hazem On Oct 15, 3:34 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 1:44 PM, Hazem <[EMAIL PROTECTED]> wrote: > > > Interesting...there's an opportunity for me to contribute ro Sage. > > Very exciting! > > I'll have a look at your attempt, William. > > > In the meantime, can anyone direct me to a comparison between REDUCE > > and Mathematica, Maple, MuPAD, Axiom, or Maxima or some of the other > > familiar packages? I haven't found anything like that. It will help > > provide me with motivation for learning REDUCE. From what i could > > gather so far from the REDUCE documentation, it seems quite > > impressive, and since there's a free version available for download > > (the pay version is relatively affordable), it would be expecially > > suited for inclusion as an optional package in Sage ("optional" > > because although there is a free download version, and the full source > > is viewable, it is not GPL-free i believe). > > > Unfortunately, as I have stated in an earlier posting, I work mostly > > with numerical analysis and simulation (Matlab/Scilab/LabVIEW), so a > > I think there is also no Sage <--> Scilab interface either. Would you > possibly be interested in writing one? > > William > > > > > > > diversion into REDUCE (and Sage, for that matter) will be done on my > > free time, and it may take me a while before I am in a position to > > write an interface, if ever, so don't wait for me if you feel like > > doing it yourself! > > > regards, > > > Hazem > > > On Oct 14, 2:10 am, William Stein <[EMAIL PROTECTED]> wrote: > >> John Cremona wrote: > >> > I think it would be impossible to write an interface to a package you > >> > do not (yet) know. Any Sage-REDUCE interface should be written by > >> > someone who knows REDUCE very well. They possibly do not need to know > >> > Sage so well. > > >> > John Cremona > > >> I agree with the above. Unfortunately, the intersection of Sage and > >> REDUCE users is as far as I know empty. Thus Hazem I hope you will > >> learn REDUCE "very well", so you can write a Sage/REDUCE interface. > > >> I made an attempt at this a while ago -- it's in the file > >> devel/sage/sage/interfaces/reduce.py > >> included in every copy of Sage. I didn't know reduce at all, > >> so didn't get so far. > > >> You can try what is there and maye get somewhere... > > >> sage: import sage.interfaces.reduce as r > >> sage: r.reduce('2+2') > >> boom? > > >> William > > >> > 2008/10/13 Hazem <[EMAIL PROTECTED]>: > > >> >> Hi William, > > >> >> I am interested in learning REDUCE by using the Sage interface. I > >> >> don't know if it is a requirement to know REDUCE beforehand, or how > >> >> well, in order to be able to write the interface. Also, I am a > >> >> beginning user of Sage and my Python skills are rudimentary, although > >> >> I have a feeling I could pick it up quickly. > > >> >> Another reason I posted the question was because I have a physicist > >> >> friend who asked me if he could use REDUCE and Sage together. > > >> >> So to answer your question, I would do it if it seemed easy enough for > >> >> me :) > > >> >> With my respects and admiration for your work, > > >> >> Hazem > > >> >> On Oct 13, 3:03 am, William Stein <[EMAIL PROTECTED]> wrote: > >> >>> Hazem wrote: > > >> >>>> Does anyone know how to use the REDUCE algebra package in SAGE? is it > >> >>>> even possible yet? > >> >>> It is not possible yet. Are you interested in writing a Sage/REDUCE > >> >>> interface? > > >> >>> William- Hide quoted text - > > >> - Show quoted text - > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org- Hide quoted text - > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---