Slashdot Mirror


Open Source Symbolic Math Program?

RickMuller asks: "I'm a quantum chemist, and every so often I'm forced to sit down and derive equations. On occasion I've used Mathematica or Maple to simplify the process, but only rarely because (i) they're not much better than plain paper and pen, and (ii) they're proprietary software, and if I'm going to learn someone's arcane command syntax, I want to make sure it's open source so I can compile and run it everywhere I need it. I want to know if there is a reliable symbolic math package that is open source. I'm familiar with the CALC package in Emacs, which is quite good except that one needs to be running Emacs to use it. I would like to know if there is a viable alternative. Anyone? "

157 of 237 comments (clear)

  1. ideas by BoneFlower · · Score: 1

    Perhaps pulling the CALC code out of EMACS and adding necesary code and recompling it as a stand alon program? That may work. Most of the issues would probably be in user interface, and hunting around the EMACS code to make sure you have everything CALC needs.

    1. Re:ideas by jbellis · · Score: 1

      the Emacs symbolic math code is several MB of elisp. Good luck. :-b

    2. Re:ideas by Anonymous Coward · · Score: 1

      Check http://cocoa.dima.unige.it It's work in progress but it's very powerful. There is also a preliminary windows (bugged) version. Alex

    3. Re:ideas by Anonymous Coward · · Score: 1

      Perhaps something simple, say a Java based program, java runs on almost anything right ? http://www.fortunecity.com/skyscraper/alpha/626/

  2. Wierdness by howardjp · · Score: 1

    I was sitting in my scientific computing class at Maryland learning obscure MATLAB commands. Before long I got to thinking about starting an open source clone of MATLAB. Let me know if you are interested here.

    1. Re:Wierdness by howardjp · · Score: 2

      Ooo, I just thought, there is a really nifty matrix math program called "umatrix" in the FreeBSD ports tree. It is nice and small, it has very limited functionality, but I have solved more than one homework problem with it. It might make for an excellent starting point. The immediate draw back (for me anyway, since I do not know Italian) is that the comments and variables are in Italian.

    2. Re:Wierdness by Anonymous Coward · · Score: 3
      There already is an open (I think---definitely free) Matlab clone. It's called SciLab, and its homepage is http://www-rocq.inria.fr/scilab/.

      Unfortunately, like Matlab, it depends on Maple for its symbolic capability. So, what's needed is either a standalone symbolic kit for SciLab, or an open implementation of Maple...

      CJW

    3. Re:Wierdness by theophilus · · Score: 3

      Octave is an excellent MATLAB-like program. I've been using it for just over a semester now for DSP classes. It does all the matrix and math functions very well but needs some work on the user interface. The only significant difference I have noticed is that Octave plots aren't as versatile as Matlab. Octave ignores commands like "title", "xlabel", etc. If you want to make something cool, a GUI front to Octave would be nice, especially if you could figure out how to make better plots. I may get flamed for this, but Matlab has a linux port at my campus bookstore for about $100.

      --
      -- no sig
    4. Re:Wierdness by seeken · · Score: 1

      Try Scilab

      chris

      Surfing the net and other cliches...

      --

      Surfing the net and other cliches...
      (Who Meta-Meta-Moderates the Meta-Moderators?)
    5. Re:Wierdness by Chris+Pimlott · · Score: 2

      Try Genius (which is now part of the Dr Genius package) I was using this as a tool for matrices before I ever tried MatLab. Once I sat down at university lab PC, I found it to amazing how close to MatLab Genius is.

    6. Re:Wierdness by john_many_jars · · Score: 1

      try octave. anything that matlab can do, octave can do

    7. Re:Wierdness by aardvaark · · Score: 2

      I've been using MATLAB for years, and have the Linux version. I find MATLAB frustrating once you get to a high enough level in their programming language. Their scoping is awful and their iteration is butt slow, among other things. They also can't handle strings and system stuff very well. I've seriously though about getting involved in perldl, the data language using perl. It is in an early developmental stage, but seems to rock over every other language, atleast in concept. I would strongly suggest that anyone interested in free mathematics packages invest their time in perldl. Why do you want to copy all the mistakes of packages like MATLAB! Perldl promises to be something better.

      --
      If I had no sense of humor, I would long ago have committed suicide. -Ghandi
    8. Re:Wierdness by truck · · Score: 1

      That $100 Matlab student version severely
      limits the size of the matrix you can use.
      If you want to do anything with images or
      3D data, forget it.

      BTW, I have used Octave, and I like it.

    9. Re:Wierdness by Sandor+at+the+Zoo · · Score: 1

      That $100 Matlab student version severely limits the size of the matrix you can use. If you want to do anything with images or 3D data, forget it.

      This isn't true in the latest version of Matlab for Students.

  3. Scilab? by David+Bengtson · · Score: 3

    You might want to check out SciLab. It's more oriented towards numerics, but it appears there are some symbolic capabilities. http://www-rocq.inria.fr/scilab/

  4. Too late they have one already :) by slashdot-terminal · · Score: 2

    There is a program produced under the GNU GPL called octave that supposedly interprets mathlab commands. Never tried it because it barfed on my libc version.

    --
    Slashdot social engineering at it's finest
    1. Re:Too late they have one already :) by King+Babar · · Score: 3
      There is a program produced under the GNU GPL called octave that supposedly interprets matlab commands. Never tried it because it barfed on my libc version.

      I can confirm that Octave is a very useful piece of free software. It provides an essentially complete Matlab 4 environment, and some current development effort is going into Matlab 5 compatibility.

      Octave's author, John W. Eaton, has put an amazing amount of effort into the project, and is willing to do more as funding for the project allows. Coders and documenters are also welcome, I believe. A curious point about Octave has been that, despite being a godsend for those who need it worst (starving students), it hasn't "caught on" in the Free Software community as thoroughly as you might suppose.

      Meanwhile, if you couldn't use Octave due to an unreported library incompatibility, it would probably be nice to mention this to somebody who could fix it...

      --

      Babar

    2. Re:Too late they have one already :) by nels_tomlinson · · Score: 1
      I never compile if there's an RPM. I like keeping track of what's on the system through the package manager, you see. I used a binary on Mandrake 6.0 and 6.1 without any problems. Another, similar program is Scilab, from someplace in France. They have some of the features that Octave is lacking, and lack a few that Octave has. Scilab is NOT gpl, unfortunately, so we should concentrate any improvement efforts on Octave, I suppose.

      What we are really hurting for is a symbolic math package, as that first fellow said. There seem to be several small efforts out there, none of which amount ot anything yet. Mupad seems to be very much NOT GPL. They have now a corporate sponsor,and may get less open in the future.

    3. Re:Too late they have one already :) by Marijn@Utrecht · · Score: 1

      I tried to use octave. I never succeeded in porting my Matlab scripts, I think the help function is bad. I guess I'll have to boot NT and run matlab if I want to use the scripts

  5. Have you looked at MuPAD? by JimH · · Score: 3

    You might try:
    MuPAD
    I've had good luck with it.

    Jim

    1. Re:Have you looked at MuPAD? by ocie · · Score: 1

      I second this recommendation. MuPAD has great symbolic capabilities and can generate graphs, which I don't think Emacs Calc mode can. Perhaps if Emacs had an X11 drawing interface?? Bloat, bloat bloat :)

      --
      JET Program: see Japan, meet intere
    2. Re:Have you looked at MuPAD? by bfields · · Score: 4

      MuPAD looks OK, but the original post asked for non-proprietary software; as far as I can tell from the website, MuPAD is free-as-in-beer for educational and research use, but is no less proprietary than mathematica or maple.

    3. Re:Have you looked at MuPAD? by waynem77 · · Score: 2

      Calc actually has some good graphing capabilities; it interfaces with Gnuplot if it can find it on the system. I've produced some nice-looking 2D, 3D, and parametric graphs on my Linux system. My Win98 system has some problems, though.

      Info for setting up Gnuplot for use with Calc can be found in the Calc info file or here.

  6. LISP? :) by Derek+Pomery · · Score: 1

    Amusingly, a (greatly simplified) version is our current project in our Lisp&AI class.

    Anyone try a freshmeat.net search? Some of the results for a search on "symbolic math" looked promising (some nice libraries too), but I haven't tried any of them.

    --
    -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    1. Re:LISP? :) by pb · · Score: 1

      Heh, I was going to say the same thing...

      "Can't you just write in Scheme or Prolog?" :)

      But yes, the response looks good. I was going to mention muPad, but someone already did.

      I'd want more of a MathCad clone though, because its interface is far superior to maple's crappy interface...
      ---
      pb Reply or e-mail; don't vaguely moderate.

      --
      pb Reply or e-mail; don't vaguely moderate.
  7. Octave by Zachary+DeAquila · · Score: 2

    There's a symbolic math package called Octave that's opensource & such... I remember running it under Solaris, Linux, and AIX... http://www.che.wisc.edu/octave/

    1. Re:Octave by Imabug · · Score: 2

      Octave is a GPL math package that uses a Matlab'ish command language. Interfaces quite nicely with GNUPlot too. There's a section in the FAQ that describes what to do with matlab scripts.

      Octave is *big* and can take a while to compile from source. for most *nices, it should build out of the box though.

      --
      "For I am a Bear of Very Little Brain, and Long Words Bother Me"
    2. Re:Octave by gurgel · · Score: 1

      Octave is a greate tool for numerical calculations, but AFAIK it can't do symbolic math

    3. Re:Octave by JBettis · · Score: 1

      Octave is a good MATLAB clone, but MATLAB is not maple or Mathmatica.

      Octave/Matlab are mostly for numerical analysis and matrix operations, not for symbolic math.

      For example (AFAIK) both Mathmatica and maple can solve simple derivatives and integrals symbolicly, and MATLAB/Octave cannot. (Major AFAKI disclaimer here).

      But what's the big deal, Maple isn't that expensive.

    4. Re:Octave by Vishal · · Score: 1

      Matlab can do symbolic math if you purchase the symbolic toolbox.

    5. Re:Octave by mwillis · · Score: 1

      Octave is *big* and can take a while to compile from source. for most *nices, it should build out of the box though.

      I have used octave too, and actually prefer it to matlab in certain areas. We have an expiring licence for matlab on some old AIX boxes at my school, so I tried compiling octave on that legacy hardware. I learned there are some caveats about building -- you need gmake and g++ 2.7.2 and not-too-badly-screwed-up headers. There are precompiled binaries on ftp.gnu.org if you don't have c++ or gmake installed and you don't want to rebuild the whole toolchain.

      All in all, I love making executable octave scripts with a shebang start, like this:

      #!/usr/local/bin/octave -q

    6. Re:Octave by tinsel · · Score: 1

      But the symbolic toolbox is just an encapsulated
      version of Maple, and not very well integrated.
      If your primary goal is symbolic math, MATLAB is
      still a silly choice.

      Not that it's not very very good at its main purposes.

  8. ginac by DanielTeske · · Score: 2

    GiNaC 0.5.3
    An open framework for symbolic computation within the C++ programming language.
    License: GPL

    While i haven't checked it out, from the webpage it is what you need.

    daniel

  9. There are several such free Open programs by Anonymous Coward · · Score: 2

    Check SAL.Kachinatech.com for all sorts of scientific apps on Linux, including numeric and symbolic math programs...

  10. Take your pick... by nstrug · · Score: 5
    The relevent SAL page is here.

    Nick

    --
    -- "It's a sad day for American capitalism when a man can't fly a midget on a kite over Central Park" - Jim Moran
  11. YACAS by dr.+claw · · Score: 2

    Try YACAS (Yet Another Computer Algebra System). In my opinion it lacks the polish of Mathematica, but it's got a fairly powerful core (which you can always extend).

  12. open-source matlab? Octave. by tsphere · · Score: 2

    Octave is a GPL numerical computation tool that is like MATLAB, but better. :-) Most scripts that don't rely on commercial matlab toolkits run fine right out of the box.

    Of course, the symbolic toolkit that comes with matlab is probably what you're looking for. Perhaps we should work on creating a symbolic toolkit for Octave? Perhaps someone already has? Stay tuned!

    --
    Tetris rules.
  13. Some Gnome math tools come close by jake_the_blue_spruce · · Score: 1

    The GNOME math tools here show promise, but I still tend to derive interpolation functions by hand, just because it's often easier, even if you've got Maple handy.

    --
    "There's so much left to know/ and I'm on the road to find out." -Cat Stevens
  14. Octave? by Anonymous Coward · · Score: 1
    Doesn't Octave address this?

    See FAQ

    Octave is a high-level interactive language, primarily intended for numerical computations that is mostly compatible with MATLAB.

    -p

  15. Maxima (Macsyma) by nonya · · Score: 3

    There is a gpl'd version of macsyma available here. They call it "Maxima" but it really is a fork of macsyma. I've used both this version (on linux) and the commercial version (on windows). It is an *outstanding* tool. Go get it.

    1. Re:Maxima (Macsyma) by profBill · · Score: 2

      Macsyma is THE symbolic math package, predating all others and the standard to which all others were often held. While I haven't worked with the derivative Maxima version, I still remember working with Macsyma and being very impressed. In fact, many (older) AI texts used to talk about it as a standard for early AI work. Been around more more than 20 years now.

    2. Re:Maxima (Macsyma) by Anonymous Coward · · Score: 1

      I tried ftpsearch.lycos.com, which doesn't find any Maxima RPMs or DEBs. Could someone make good ones?

      There is a binary package:
      ftp://ftp.ma.utexas.edu/pub/maxima/maxima-386-li nux-5.2-bin.tgz

      The package is quite old but it works. Do not try plotting with that. If you want to plot, 2D or 3D, you have to compile it.

      To compile it you must have a precompiled version of GCL 2.3 (GNU Common Lisp) somewhere in your hard disk. Older versions doesn't work perfectly with the newest Maxima. GCL is found here:
      ftp://ftp.gnu.org/gnu/gcl/gcl-2.3.tgz

      Then get the source of Maxima ...
      ftp://ftp.gnu.org/gnu/maxima/maxima-5.4.tgz
      ... and follow the instructions in README.

      Pekka from Finland

  16. Try MuPAD, PariGP, or Macaulay by Signail11 · · Score: 4

    MuPAD: nice general purpose CAS with packages for practically anything. You can view the source for the library functions, so if there's bug, you can fix it. Support is excellent and it's essentially free (as in beer) for *nix systems; MuPAD Light is free for Windows systems. www.sciface.com

    PariGP: Has a decent user interface but not especially user-friendly compared to MuPAD's programming language. Has excellent support for formal power series, rings, etc.

    Macaulay: User interface is bare bones; just flushes input to the interpreter. Strong in manipulation of polynomials via Grobner basis. It seems specialized for computational algebraic geometry.

  17. The URL by DanielTeske · · Score: 1

    uups forgot the URL http://www.ginac.de/ daniel

  18. freshmeat has some good info by zerodvyd · · Score: 1

    http://www.freshmeat.net/appindex/x11/scientific%2 0applications.html

    Scilab is very close to Matlab in basic functionality, I have yet to try out any other package yet, however Matlab and Scilab are rather interoperable for my studies at the moment: Neural Network Design and Fuzzy Logic.

  19. Mathematica - ugh by grappler · · Score: 5

    I can't stand the Mathematica licensing. As a poor college student who runs Linux, I don't buy much software. But this year I decided it would be worthwhile to have Mathematica (they released a linux version).

    So, I bought the student version of Mathematica. I've come to regret that, because their licensing is a pain in the ass. I reinstall OSes on a regular basis, and every time I do, Mathematica requires a new password, so I need to email the company and get a new password from them. This takes days.

    Also, I dual boot windows. The CD also had a windows version, so I decided to install it. What's wrong with me using a program I paid $130 for on both operating systems right? It's still on my computer, and they can't run at the same time anyway. Well, I sent another request from them, along with a number generated from my system, and here's the response I got:


    It looks as if you have changed from the Linux to the Windows platform. In
    order for us to generate a new password for you, I will need for you to
    complete a system transfer application. I have attached a copy of this form
    in JPG format to this e-mail. Please print the form, complete it, and
    return it to Wolfram Research either by fax or mail. Once received a
    customer service representative will process your request. Please be sure
    to write you new MathID number on the form so the person who receives it can
    process your password, I do not believe the form it asks for it.

    Our fax number is listed at the top of the form, and our mailing address is:

    Wolfram Research Inc
    Customer Service
    100 Trade Center Dr
    Champaign IL 61820

    If you are unable to open or read the file please contact me and I will
    request a copy of the form either faxed or mailed to you.


    Gee, thanks. I haven't gotten around to doing this yet, but perhaps I'll find the time.

    Meanwhile, AN OPEN SOURCE MATH PACKAGE WOULD BE A GODSEND!!!!!!!

    --
    grappler

    --
    Vidi, Vici, Veni
    1. Re:Mathematica - ugh by Marvin_OScribbley · · Score: 3

      I purchased Mathematica 3.0 when I was a student and I agree, the password problem was REALLY annoying. I recently upgraded to version 4.0 with the student upgrade discount (around $350 versus $79 for the student version or over $1000 for the non-discounted version) and I must say it was certainly worth it. I was expecting the password mess so I installed it on a laptop, so I could easily take it wherever I went without having to get new passwords. Guess what! It didn't even ask for a password! I suspect the student version uses a password because Wolfram is afraid of students pirating the software.

      All in all I consider Mathematica to be one of those rare pieces of software that actually have enough merit to be worth every penny paid for them. All of the few bugs I found in version 3.0 have been fixed in 4.0 (for example, I can now find the 1 trillionth prime number without a problem). And the fact that Mathematica does run under Linux is nice too.

      In the past I have thought it might be useful to someday start a project to develop a free version of Mathematica. IMHO Mathematica is the best technical computing package available, bar none, and a version with source available would be even sweeter. However, consider this -- a good deal of the functionality in Mathematica is actually written in the Mathematica language. There is a lot of Mathematica source available that comes with the package. Most of the low-level underlying stuff you don't really need the source code for anyway.

      As for the comment about arcane language, Mathematica's language is about the cleanest that i've seen. It uses a simple underlying list form (Head, Element,... where Head is a function, data type, etc.) and builds on that to support virtually every known mathematical function, notation, programming style, etc. Lest I seem to exuberant keep in mind it's really optimized towards symbolic and numerical computations, so it really doesn't work as well with things that traditional command line tools such as perl can do much better.

      --
      I'm not a journalist, but I play one on slashdot
    2. Re:Mathematica - ugh by mcelrath · · Score: 2

      For the record, I would give half my salary, my first born child, my left testicle, and all the beer in germany for an open source symbolic math package that has similar functionality to Maple or Mathematica.

      Mathematica's absurd licensing means (among other things) that on my Linux/Alpha system, I must buy the Tru64 version for $3000.00, and cannot get this under a student license.

      Boycott Wolfram Research. Their Draconian licensing policies and you-can-only-afford-this-with-a-government-researc h-grant pricing schemes have put them on my boycott list along with Microsoft, Intel, Ameritech, Blockbuster, and a few others.

      Also for the record, I would contribute heavily to any open source project that shows promise of approaching Maple/Mathematica. Here's some thoughts:

      <IDEA>

      • I want the ability to take an expression and manipulate it by selectively applying identities, exactly the way you do on paper. For example, the ability to select a term in an expression, and apply a trig identity to it, select two terms and combine them with a common denominator, etc.
      • It should have input/output compatible with LaTeX so that results can be easily incorporated into a paper.

      </IDEA>

      --Bob

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    3. Re:Mathematica - ugh by radetzky · · Score: 2

      Oh come on... I am a rich student. I bought Mathematica for Students 4.0.1 about 4 months ago with a couple of add-on packages (mostly from MEI).

      I can't believe how good the after sale service that Wolfram gives is ! There is even one of the developper of Mathematica on comp.soft-sys.math.mathematica that answers questions regarding Mathematica and Linux.

      I had to request a new password about 3 or 4 times and everytime I got it in less than 12 hours.

      I originally bought the software for Windows and then decided it would be better to transfer it to Linux. I completed the System Transfer Form and had the needed password in less than 24h.

      When you will be over with school you will have the possibility to buy the Professionnal version for something like 300$ instead of 1250$ because you bought the student version.

      If there is one thing I have to complain about is the fact that Wolfram doesn't advertise very strongly the fact that Mathematica, and mostly the add-ons, are compatible with Linux. I originally bought the Windows version because I thought they could only work under Windows. But everything works under Linux.

      Mathematica is great !
      ---
      p.s.: please forgive my bad spelling. English isn't my primary language.

    4. Re:Mathematica - ugh by Fabi · · Score: 1

      For those who don't reinstall OSes on a regular basis (thats why I use Linux) and those who are not better with plain paper and pen (I think the most of us), Mathematica is THE CHOICE in symbolic mathematics.

      BTW: At our university (Vienna University of Technology) Mathematica 4.0.1 is sold for less than $10 (ATS 80,- to be exact) and includes a Version for Win, Mac and Linux - the use is limited to one year, then you have to verify your studentstatus again.
      (The same applies to Maple, but only cost ATS 75,-)

      My advice if you are a student: Ask for this student-licence!

    5. Re:Mathematica - ugh by Anonymous Coward · · Score: 1

      Can you really boycott something you can't afford to buy anyway? I'd have to say the effect on the company would be pretty minimal.

    6. Re:Mathematica - ugh by roomfull+of+blues · · Score: 1

      I have had a similar experience. About a year and a half ago (I think) I purchased the student version of Mathematica and found it to be like a nirvana. I was thoroughly impressed with its technology, but I found the password situation a bit disconcerting.

      Later on, when I first tried linux I ditched mathematica because I didnt have the linux version. I didnt even know one existed at the time. Meanwhile, I learned about how much commercial EULAs restrict user freedoms and the first thing I thought of was mathematica.

      Upon recently hearing about the linux port I simply said "cool" and left it at that. I didnt want to fall right back into the hands of a commercial software company.

      I find it sad that there hasnt been more progress in this area but, as with all things open source, it will improve over time. I would love to see high quality free software on symbolic math, just like I would like to see some good open source FPGA and PLD development tools.

      Im telling you, if Wolfram open sourced MMa, it would be the first new thing I install on my linux boxen. I dont mind paying BTW, as long as I can study and possibly improve (I doubt it) their code. Im sure their programming is impressive, to say the least. :)

      In my mind, I dont see how open sourcing MMa would hurt them.
      Dilbert: I have become one with my computer. It is a feeling of ecstacy... the blend of logic and emotion. I have reached...

    7. Re:Mathematica - ugh by np-complete · · Score: 1
      At least Mathematica has a Student Linux version... if I wanted to get Maple for Linux, I'd have to pay about £500 for the privelege, as opposed to £35 for Windows.

      Naturally, I bought Mathematica for Linux because it's a far better package, and not that much more expensive under student license...
      NP

      --
      Can you sum it up in a word? *No.* In a noise? *Whuuuurghhhhh!*
    8. Re:Mathematica - ugh by grappler · · Score: 2

      Chill out. First of all, I have my reasons for reinstalling. I don't exactly wipe my linux partition clean all the time, but I do put in the latest redhat disk and choose "upgrade". Also, I'm thinking of switching to debian and I just recently installed that. Also, I recently moved from a wimpy 800meg hard drive to a much larger one, and just did a clean reinstall. I think I'm done with that for a while though.

      And I'm not whining. I like Mathematica - it rules. I just got really frustrated when I got that request for a "system transfer application" to be sent by snail mail, no less. It reminded me of that UCITA legislation. And the next day I see this on Slashdot, so I just had to rant. Thanks for listening. :-)

      --
      grappler

      --
      Vidi, Vici, Veni
  20. your alternatives by cmmike · · Score: 1
    [ I'm not very good at math, but I'll try to be helpful anyway ]

    if Matlab-like functionality is appropriate, then try Octave (look for it on the GNU site)

    you said you don't like Emacs. well, if your dislike is strong then I guess Jacal and Mockmma are not your cup of tea. they are written in Scheme and Common Lisp respectively, so presumably they are most convenient to run with the prompt in Emacs.

    hth

    --
    -- LIVE FATS DIE YO GNU
  21. Links to Octave by davebo · · Score: 3
    You can get more information about Octave, as well as download source & binaries from here.

  22. Here's a few by Mignon · · Score: 2
    See the links at the bottom of Dave Bayer's page.

    Also check out Magnus.

  23. JACAL-- never tried it, but it might work... by Seth+Scali · · Score: 2

    Check out the JACAL web page-- http://www-swiss.ai.mit.edu/~jaffer/JACAL.html for more details. You'll need a Scheme interpreter and the slib (Scheme library). It's GPL, if you're worried about licenses.

    I don't know a whole bloody lot about Scheme-- would it be terribly difficult to create a C/C++ implementation of JACAL, or would it be best to start from scratch?

    Remember, I've never used JACAL, so I don't know about how appropriate it will be to your needs. But it can supposedly "manipulate and simplify equations, scalars, vectors, and matrices of single and multiple valued algebraic expressions containing numbers, variables, radicals, and algebraic differential, and holonomic functions", according to the web page-- it might be a good starting point.


    ----
    I have come to a conclusion about life... I am more
    mentally stable than any of these activists or

    1. Re:JACAL-- never tried it, but it might work... by Cynbe · · Score: 2
      I'm not a symbolic algebra hacker, but I poked through JACAL once and got the impression that it had a relatively clean, pretty architecture where other packages were more ad hoc.

      This might be relevant if you intend to be customizing it.

    2. Re:JACAL-- never tried it, but it might work... by Doctor+Memory · · Score: 1

      would it be terribly difficult to create a C/C++ implementation of JACAL, or would it be best to start from scratch?

      Might be most practical to just grab a copy of SIOD and wrap your C code around that.

      --
      Just junk food for thought...
  24. One possibility by Emptiness · · Score: 1

    OK, first off: I have not tested this myself, so I can't say if it really is good or not. I'm just presenting a possibility.

    YACAS (http://www.xs4all.nl/~apinkus/yacas.html) came up a while back when I did a search. That page also lists a few other computer algebra systems you might want to look at, like JACAL. Check the related-links section.

    Just a thought, but if you do try several of these you might want to write a brief article about your findings. I'm certain that other people would be interested...

    1. Re:One possibility by edremy · · Score: 1
      While it looks like a nice start, it and a couple of the others I quickly looked at (Hartmath, etc) are seriously lacking in functionality.

      Speaking as another (ex) quantum chemist/theorist, unless the package can do symbolic solutions of integrals and differential equations it's not of very much use for what I suspect the original poster wants. (It wouldn't be for me.) I suspect that most of these open source packages are going to get stuck at this point: it's fairly easy to do matrix stuff, arbitrary precision algebra and even derivatives and the like, but writing a general symbolic integrator is a lot harder. I don't even want to think about writing code to do general solutions of partial differential equations- it makes my head hurt.

      Eric

      --
      "Seven Deadly Sins? I thought it was a to-do list!"
  25. Maple is fantastic - but OSS could beat it. by szyzyg · · Score: 2

    Mathcad looks very impressive to your average user, but Maple is the better package once you get used to thinking about it.

    The thing is, if you've ever looked at maple it's clear that many of teh modules haven't actually been planned - through the versions it's evolved in the same way that an OSS project would.

    So with a good enough core and foundation then a Maple killer shouldn't be too hard. Till then Maple on Linux will have to do.

    1. Re:Maple is fantastic - but OSS could beat it. by NovaX · · Score: 2

      MathCad has Maple built in, so if you do things correctly, you should have equal power. The difference comes in speed and presentation. If I'm trying to solve one problem, or a few of them, I pop open mathcad and work it out. Its easier that typing various commands I half remember, looks nicer, etc. If I'm doing a lot of work, such as labs, then I have to use Maple. MathCad just doesn't cut it. That's what you get when going from a command string to a presntation layout.

      I've been using MathCad since v2 for dos, including the Win3.1 versions, and maybe once used a UNIX (HPUX) version. MathCad is better or worse depending on the person and the job.

      What I really love about Maple is that it keeps UNIX support so I can use display it from the server to my machine. Thus, when I run an infinite loop, I can screw everyone on an 8-way SGI rather then slow down my desktop. What fun. :-)

      --

      "Open Source?" - Press any key to continue
  26. Try Octave! by Raphael · · Score: 1

    You should have a look at GNU Octave, which is mostly compatible with Matlab.

    I tried it under Solaris and Linux and it works quite well. If you have the opportunity to compare Matlab and Octave running on the same platform, you will find that Octave is a bit slower and consumes more resources, but not up to the point that it becomes a problem. Several of the Matlab examples can be ported to Octave and they run fine.

    You can find Octave in the latest Debian and SuSE Linux distributions. If you want to compile it yourself, you will need a recent version of gcc (with support for C++ and FORTRAN), the C++ library and optionally gnuplot for the graphics. You will also need some disk space and some patience while the stuff compiles, but the package is reasonably easy to configure, compile and install. Good luck!

    --
    -Raphaël
  27. similar vein by rawdograwdograwdog · · Score: 1
    This may or may not be as useful for quantum chem, but for all you statisticians out there who don't want to fork out bookoo bucks for SAS or S+ licensing, there's a S+ cousin called R... GNU's statistical analysis/graphics package/language. It's similar in command and behavior to S+, but I'm not sure of the extent of its functionality. (still playing with it.)

    I found it at: http://www.ci.tuwien.ac.at/R

    1. Re:similar vein by Dr+Dick · · Score: 1
      I can heartly recomend R I use it all the time. They have just (yesterday) released version 1.0.0 so nows the time to play. I've yet to find something that S+ can do that R can't. The only problem I've found is it make things to easy and there almost no need to actually write any programs. Its much more flexiable than the likes of SPSS, SAS etc.

      For 3D mathematical graphics have a look at Geomview geom.umn.edu which is freeware. I've got a suite of programs, the LSMP, which work with geomview. It can creating algebraic surfaces and such like. I use to sell the package to the singularity theory community but I'm well up for open-sourcing/public domaining the package. The web-sites is currently out of action. But email me and I'll get things going again.

  28. Use Mathematica by skeptikal · · Score: 2

    I am a quantum physicist and did
    some quantum chemistry for a couple
    of years. Mathematica is excellent
    for symbolic computations.

    >On occasion I've used Mathematica or Maple to
    >simplify the process, but
    >only rarely because (i)
    >they're not much better than plain paper and pen

    I completely disagree about that. Give me a pen
    example and I'll do it for you with Mathematica.
    I have solved symbolic systems of diff. eqns
    which otherwise freak you out just by thinking about.

    Best,

    1. Re:Use Mathematica by Omar+El-Domeiri · · Score: 1

      Thank you for setting this straight.. I saw that paper and pen comment and just about spewed my grape jolt cola.

      Omar El-Domeiri

    2. Re:Use Mathematica by peter · · Score: 1

      Maybe if you aren't familiar with using the program, then paper is almost as good. However, I'd agree with Omar that I was very surprised to see that comment. I use maple, and find it _much_ better than paper for working with big ugly equations. I also use it for checking my math homework, which I certainly don't want to do _again_ on paper :) There are some equations maple has to be coaxed to simplify the way you want, so maybe the q-chem guy has equations like this that maple doesn't deal with nicely. I've never seen a quantum-chemical equation, so don't ask me :)
      #define X(x,y) x##y

      --
      #define X(x,y) x##y
      Peter Cordes ; e-mail: X(peter@cordes , .ca)
  29. Octave is not a symbolic package by jmv · · Score: 4

    Though Octave is a very useful math package (I use it all the time), it doesn't have any symbolic math support. I don't know what made you think otherwise. It's almost Matlab compatible though.

    As for symbolic stuff... you should look at SAL.KachinaTech.com which is a site for scientific applications under Linux

  30. Emacs OS? by Seeth42 · · Score: 1

    I didn't realize that Emacs was it's own operating system.

    1. Re:Emacs OS? by Mycroft-X · · Score: 1

      EMACS is an OS the same way Windows is...while it doesn't take care of things directly, it's an OS environment that runs on top of a CLI. :-)

      (This post is only half joking.)

      Mycroft-X

    2. Re:Emacs OS? by Seeth42 · · Score: 1

      Thanks for the clarification! :)

      I have always been under the assumption that Emacs was just a really powerful (and complicated) text editor like vi or pico. In thinking about it now, I see the destinction.

      Guess I'm just a poser neophyte that talks bigger than I should *Sigh* (at least I'm no Script Kiddie!).

  31. Re:Try Octave! (maybe not) by Raphael · · Score: 1

    Ah well, I should have been a bit more careful before posting: Octave is not really a symbolic math program. So I wouldn't mind if my previous comment as well as all others that suggest using Octave were moderated down as "Offtopic"...

    For symbolic math, maybe SciLab (Open Source, not much symbolic stuff but a bit of it anyway) or MuPAD (free but not Open Source) could help, although I haven't personally tested them.

    --
    -Raphaël
  32. Maple V and Mathematica and PC magazine by lwiniarski · · Score: 1
    silly little semi-unrelated trivia....

    I remeber when PC Magazine reviewed Math packages.

    They choose Mathematica and Maple V as the best; However they gave "Derive" ( a semi-obscure dos-fits-on-a-single-floppy-text-mode an honarable mention as it was the only one to get test gravitational potential problem correct and simplify nested radicals automatically but felt that that it interface and graphics were inferior to Mathematica and Maple V.

    I guess they considered getting the correct answer to be a fairly unimportant requirement. I've got the review on my "Hall of Shame" .

    I've never taken PC magazine seriously ever since

  33. Gnatlab by sdaemon · · Score: 1

    Take a look at gnatlab, available through freshmeat. I played around with it some on my Slack 7.0 box, it ran fine and provided most of the functionality I was looking for. Also, I believe there is a version of Matlab for Linux available free of charge to students. When I was a CS major at Georgia Tech, we had access to copies of Matlab, at least.

  34. Online Manual by nonya · · Score: 1

    Here is an online manual for maxima. Browsing through this should give you some idea of what maxima has to offer. In particular, take a look at its pattern matcher and differential equations. Symbolic math is maxima's strong point - I'm not sure it really has a competitor in symbolic math - but it respectable at numerical calculations as well.

  35. Math packages by Andy · · Score: 1

    Try Octave or Jacal. The syntax is plent hairy though. No escaping that, because mathematics is hairy by its very nature.

  36. RLab - a Matlab-like GPL'd program by hawkestein · · Score: 3
    There's a GPL'd program similar in functionality to Matlab called RLab, with a page at rlab.sourceforge.net. However, I haven't tried it myself.

    --
    -- Will quantum computers run imaginary-time operating systems?
  37. Depending on your needs, try GAP by Hilbert · · Score: 1

    If QChem is your bag, you might want to look at GAP (Groups, Algorithms, and Programming) here. The license isn't quite GPL, but it's not too hostile either.

    -----

    --

    --------------------------------
    c. m. prince
  38. Maxima? by MattMann · · Score: 2
    They call it "Maxima" but it really is a fork of macsyma

    They call it Maxima but really it is a forked up name for...

    macsyma, a symbolic math package BTW developed under "project mac". See? That's clever: project mac, math, symbols... clever. Can "Maxima" be improved? Well, here at least is a recursive acronym: MAXima Is MAcsyma. Nah, no good.

    How about, "Maxima: where this derivative's name has a value equal to zero"

  39. Heresy by zunger · · Score: 5

    Call me a heretic of the Open Source movement, but:

    I use Mathematica regularly. Its syntax is arcane only to the extent that it is itself a programming language with a complex instruction set; and the source is closed. But it has two features which I believe counter this. First, there are simply no programs of comparable power for complex symbolic manipulation; and yes, I am familiar with the open source packages. But algorithms for solving symbolic differential equations and large integrals are simply too much for small groups of people to do; their design requires substantial teams of very skilled people. And while the open source community has mustered many (most?) of the best programmers in the world, the skills of applied mathematicians simply aren't as prevalent in this world.

    And second, Wolfram Research (the company which makes Mathematica) has systematically made itself as open as possible; they routinely solicit user suggestions and input, and sometimes incorporate user-submitted packages and code into their own releases. While the core code itself is compiled, a large fraction of the program comes in the form of modular packages which come in the form of Mathematica source code.

    In short, I'll say that Not All Closed Source is Bad. The modularity of Mathematica, the publication of the API's and the source to all of the interpreter-level packages, and the responsiveness of the company to its users have given it most of the same advantages that true Open Source posesses.

    (All of this applies as well to Maple; that system is oriented more towards large data set manipulation rather than pure symbolics, however, so the situation is slightly - but not very - different.)

    So call me a heretic; but I believe that, when the cost of a large number of specialists needed to develop a package is high, the creation of a closed-source, sold-for-money package is reasonable so long as the company does not behave in a manner detrimental to its users. Therefore I would suggest that the continued use and active support of systems such as Mathematica and Maple is beneficial to the community as a whole and should be continued, even in the presence of open-source alternatives.

    1. Re:Heresy by PureFiction · · Score: 1

      No its not heresey, but it still sucks ass.

      I want a free Mathematica for my linux distro and I want the code so I can see how those wizards did it.

      Hmm.. perhaps with enough amphetamine I could code Tuxmatica.

      *ponder ponder...*

    2. Re:Heresy by tconnors · · Score: 1

      You also happen to want it to be *correct*.
      It would be easy for a programmer to try and fix a bug, and inadvertantly introduce another bug, simply because he doesn't have the mathematical knowledge that the maple programmers have. You can rely on the fact that the maple programmers know what they are doing, and since there is a centralised place (i'll admit, linus is good at doing this for the kernal), you know who is rensponisble for making or breaking the code.

      Remember that these packages are being used to prove or disprove theories, you dont want mistakes.

    3. Re:Heresy by wait · · Score: 1
      You also happen to want it to be *correct*.

      It would be easy for a programmer to try and fix a bug, and inadvertantly introduce another bug, simply because he doesn't have the mathematical knowledge that the maple programmers have. You can rely on the fact that the maple programmers know what they are doing, and since there is a centralised place (i'll admit, linus is good at doing this for the kernal), you know who is rensponisble for making or breaking the code.

      Remember that these packages are being used to prove or disprove theories, you dont want mistakes.

      Um, first of all many open-source programmers have PHDs in Mathematics, Engineering or the Sciences-- is that enough math back-ground? Second of all-- regression testing is essential for a symbolic math package whether you are a monkey (no offense to monkeys reading this) or a Field's medalist! For example check out the regression test suite of this number theorist's tool-kit.

      --Alexander (Sasha) Wait

  40. Mockmma by Xenophon+Fenderson, · · Score: 1

    Richard Fateman has a program called "mockmma" that is a simple knock-off of Mathematica. I don't know how complete it is, but I doubt it is anywhere close to being a complete clone of Mathematica. It's written in Common Lisp and there's a pointer to it on the ALU's Lisp Tools page.

    There are other resources:

    I'm sure if you spend a little time with a search engine (Deja, Google), you will turn up more information. I found the above in less than five minutes, so I'm sure there's much more information out there if you look a little bit.


    Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
    --
    I'm proud of my Northern Tibetian Heritage
  41. But why? by osu-neko · · Score: 3
    Why not just run it under Emacs? I know most of you guys are Linux fans, but really, Emacs is the best operating system available. You should try it! It even runs under Linux without requiring VMware or anything like that. What other operating system has that feature? Both Linux and Windows have a way to go before they're a serious challenge to the Emacs operating system!

    --

    --
    "Convictions are more dangerous enemies of truth than lies."
    1. Re:But why? by Steelehead · · Score: 1

      Your tongue is so far in your cheek I can almost see it poking through.
      Hopefully, so will everybody else.

      --
      -- 100% MS-Free as of 4-4-1999, 11:47:38 PST. "The lapdance is always better when the stripper is cryin'" Free Kevin,
    2. Re:But why? by BoneFlower · · Score: 1

      I see the humour in your post, but in answer to why, he likes EMACS calc module. But he doesn't like having to pull up EMACS to use it. Since the source is available, just delete all the non calc code and recompile. Maybe have to tweak the code a little to run outside of EMACS but it shouldn't be a huge problem, so long as RMS commented the code well and any contributors to the calc module did so as well.

    3. Re:But why? by ben_dover · · Score: 1

      But emacs IS an operating system. It just runs at another layer than the traditional OS. It's at version 20 and is very stable for an OS. I don't think this was a tongue in cheek comment at all.

    4. Re:But why? by osu-neko · · Score: 1
      Actually, Emacs is the OS, but it can be used with a number of different bootloaders. If you want a free Emacs bootloader, Linux and BSD do very well. I've also had good luck with a commercial Emacs bootloader called Solaris. :)

      --

      --
      "Convictions are more dangerous enemies of truth than lies."
  42. Pattern matching is the key to Mathematica by SIGFPE · · Score: 1

    To me the core feature in Mathematica is its pattern matching engine. I have used many other algebra packages with superb mathematical functionalty but without the Mathematica pattern engine it's harder to extend it. It recognises all sorts of very general patterns. A year or two back I tried writing a pattern matching engine that had all of the functionality of Mathematica. It was great because I could simply transcribe big tables of standard integrals and write a minimal algorithm to end up with something that could was really useful at integrating. Other algebra packages I have used don't seem to share this pattern matching. One day I'll rewrite this code properly (it had this really cool feature whereby it would copy pieces of the C stack to allow prolog-like backtracking in C code - but I'd never release a hacky piece of code like that!) and make it open source.

    --
    -- SIGFPE
  43. uh... i'm confused... by Capt+Dan · · Score: 2

    " On occasion I've used
    Mathematica or Maple to simplify the process, but only rarely
    because (i) they're not much better than plain paper and pen, and (ii)
    they're proprietary software, and if I'm going to learn someone's arcane command
    syntax, I want to make sure it's open source so I can compile and run it
    everywhere I need it."


    It's the "run it everywhere I need it" part that is confusing me. Don't the major packages have ports for all major platforms? I have seen/used UNIX, Mac, and PC versions of Mathematica, matlab, and maple. I have not had any trouble with transfering session data (mathematica notebooks, matlab log/diary files, etc...) between platforms either.

    I remember taking a mathematica course 6 years ago at CMU and using the UI on a PowerPC mac, and running the bigtime number crunching on a Sparc20 server.

    I am in no way trying to negate or discourage the need for, or advantages of, an open source solution to the problem, but shouldn't a quantum chemist have enough university or corporate support to provide him with whatever packages he needs to do his job?

    "You want to kiss the sky? Better learn how to kneel." - U2

    --
    Sig:
    Barbeque is a noun. Not a verb.
  44. Octave! by phishead · · Score: 1

    One of the grad students here at the UW Madison Chem. Engineering Dept. Is heading up this project. I've been told it's exactly like Matlab. You can find it at The Official Site

  45. Octave is excellent! by john187 · · Score: 1

    Octave is perfect for you. It's an excellent all around tool. Great for prototyping mathematical problems that you might later impliment in another language, or even just for solving problems and working things out.

    I reccomend it.

    John

  46. Re:Pencil & paper by SuperguyA1 · · Score: 1

    I think Amazon holds that patent If I'm not mistaken.
    (Oh come on somebody had to say it).

    --
    "as plurdled gabbleblotchits on a lurgid bee" - Prostetnic Vogon Jeltz. (One man's humorous is another mans flamebait)
  47. UI? by peter · · Score: 1

    Octave has a great UI, as far as I'm concerned. It runs on a tty, and uses GNU readline for input. This gives it line editting just like bash has, and tab-completion on everything, which is much nicer than the Unix matlab on the SPARCs at school.

    BTW, octave uses gnuplot for all its plotting, so it doesn't include any X code at all, AFAIK. This keeps things small. (well, smaller, I guess. I don't know why there is an Octave function for all kinds of system calls and libc functions.)

    One really great thing about Octave is that it is almost completely compatible with matlab, so I can hand in my linalg homework done with octave, and apply stuff our prof tells us about matlab. one function it doesn't have is rref, but I got around that by snagging rref.m from the school's commercial matlab copy :) This year they got around to teaching us that lu factorization essentially does the same thing, so I don't need rref anymore :)
    #define X(x,y) x##y

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)
  48. Buthead Math Software Companies by Gavin+Scott · · Score: 1

    I own just about every cool software tool that I know of, except a current version of one of the major symbolic capable math packages (Mathematica or Maple).

    Many years ago I bought a "Standard" (no FP support) version of Mathematica 2 for the Mac (around $700 then I think). Every year or so it occurs to me that it would be nice occasionally to have a current version of Mathematica. But each time I am repulsed by Wolfram's incredible ego, draconian licensing, and exorbitant pricing.

    They won't give me any discount on a new version for having owned an old version, and if I want to install the software on more than one of my own personal systems, then I basically have to buy multiple copies of it, plus deal with their annoying password based hardware copy protection.

    What Mathematica needs is for someone like Bill Gates to buy out Wolfram and turn the thing into a $200 program with an ordinary license and no idiotic copy protection!

    I recently tried to investigate Maple as an alternative, but they won't even return my email messages asking how much the !@#$% product costs!

    Grumble, grumble.

    Actually, for puttering around with Math at all but the most advanced levels, nothing beats MathCad (preferably MathCad Pro 2K, but that's like $800 now :-( A really fun program to use too. Unfortunately it's Windows only at the moment.

    G.

  49. Re:Too late they have one already: WRONG! by nels_tomlinson · · Score: 3
    Octave is a matlab clone, and works fairly well. It DOES NOT do symbolic math!

    Moderators, what were you thinking? It may be informative, but it's wrong. If you don't know, don't touch.

  50. Re:How's about a calculator? by Anonymous Coward · · Score: 1

    I guess you haven't had the opportunity to compare, say Mathematica with Ti-89 CAS? There are lots of even simple problems that Ti-89 can't solve that Mathematica solves in a blink of an eye. Most annoying feature of Ti-89 (AMS 2.03) is that some problems just choke the calc. If you don't break the calculation it'll try solving it until it runs out of batteries. Symbolic graphing calculators are good for 'easy' or 'mechanic' type of problems but real-life hard calculations just need more power.

  51. Maxima by amundson · · Score: 1

    There is really only one major symbolic algebra package that is available under a free, as in libre, license: Maxima. Maxima is a GPL'd version of Macsyma, the oldest living symbolic algebra package. Maxima isn't very well publicized, but it has a web page: http://www.ma.utexas.edu/users/wfs/maxima.html

    The maxima package contains extensive documentation, but it is short on introductory material. The user interface is pretty grim, but all the guts (i.e., the hard parts) are there.

  52. closed program, Free OS. by peter · · Score: 1

    Your point about not wanting to get locked into a closed program is interesting. (Dal has a site license for maple, so I've got the full version for x86 linux. To save typing, I'll just talk about maple, and assume what I say applies to mathematica too.)

    If maple dies, and stops being developed, there won't be any more bug fixes or ports to new architectures or OSes. Fortunately, it runs on at least one Free OS, x86 linux, so it is possible to get it to run on anything. Granted, this would not be efficient. However, by the time the x86 is uncommon (the sooner the better, as far as I'm concerned!), computers will be fast enough to emulate x86 linux. Since the OS is Free, we can make an efficient emulator and catch all the syscalls instead of catching hardware IO. If x86 is still around, but Linux dies (not likely, but _possible_), then we could wrap maple in a compatibility library to translate the linux syscalls.

    Anyway, my point is that even if we use a closed package like maple, we will always be able to use it in the form it's at right now. For something like maple, that's good enough for most people. Math is math is math. 1+1=2, and that doesn't change. If new theories are developed, stuff to work with them can be released by independent authors, like what's in the maple share library. I don't imagine it would need (or even need for good performance, since I'm almost sure maple is turing complete. :) new support in the maple kernel. (but then again, you never know somebody will think of, otherwise you'd think of it yourself!)
    #define X(x,y) x##y

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)
  53. Trying to compute numbers Very Large Numbers by The+GAP · · Score: 1

    I'm looking for Computer Algebra System that could compute numbers larger than a 1000+ digits.Do you know any program/library that can do that ? What is the limit ? Thanks in advance

    1. Re:Trying to compute numbers Very Large Numbers by MJArrison · · Score: 1

      I was working on something like this awhile back. I could handle the four basic operations for infinite length strings. But I haven't seen anything that's really published.

  54. OSS C Library w/API by deblau · · Score: 1

    Isn't there an open source C library somewhere with a well-defined and documented API? Shouldn't there be?

    --
    This post expresses my opinion, not that of my employer. And yes, IAAL.
    1. Re:OSS C Library w/API by loudici · · Score: 1

      GINAC is a C++ GPL-ed library. It is far from complete, but the design seems very sound.
      ---

      --
      Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
  55. Reduce? by WSSA · · Score: 1

    I remember using a program called Reduce for symbolic algebra in a mainframe context some 8-10 years ago. Does anybody know if it has been ported to PC OSes?

  56. Re:Heresy? I think not. by Anonymous Coward · · Score: 2

    Call me a heretic of the Open Source movement, but:

    IMO, it's hardly heretical to wish to use the best tool for the job. Like you, in many facets of my professional life (I'm a physicist) I've found no tool, Open Source or closed, that has the flexibility and functionality of Mathematica, particularly in the area of symbolic algebra. I'm skeptical of whether any Open Source product will be able to legitimately compete in this arena for some time.

    In my experience, Wolfram Research has excellent customer service, and they do indeed listen to their users re: adding features to their software. If you'll permit an anecdote, when I was writing my dissertation I wanted, for some technical reasons, to be able to generate graphics in Mathematica but use LaTeX drawing commands to place the numbers and labels on my figures. I wrote a filter in C to process the Mathematica-generated encapsulated postscript to strip out the text drawing commands, and then build a corresponding LaTeX file with the drawing instructions. I had some difficulty getting the text positioning to work right, and I asked in an email to Wolfram Res. some specific questions about how MMa generates its EPS, and to my surprise I received a detailed reply within 24 hours. The reply also noted that the next version of MMa would possess the functionality I was trying to work around. (True to their word, it did). I have had other similar experiences with them in the past, but this one sticks in my mind.

    My advice to the original poster who is afraid to learn a language that may not be supported on his machine would be to go ahead and learn a symbolic algebra system such as Mathematica or Maple now, since at the moment the commercial systems seem to be the "state of the art." Though the software is not free as in "free beer," the price isn't terribly high on most machines and OSs (Alphas being a notable exception. Furthermore, while you can't tinker with the internals of the interpreter itself, many of the packages are implemented in the language itself, and so you can indeed modify the software to suit your purposes; this gives it some of the same flexibility as Open Source code.

    Incidentally, Mathematica and Maple were both available on the Linux platform quite early on in the Linux movement. I remember purchasing the student version of MMa for Linux for $75 back when my P5/133 was considered a "high-end" platform.

  57. Where are they now?: Derive by UnknownSoldier · · Score: 1

    I remember using it about 5 years, and liked it since:
    a) it was relatively fast
    b) it fit on a floppy

    Whatever happened to Derive?
    Who made it?

    Cheers

    1. Re:Where are they now?: Derive by lwiniarski · · Score: 2

      I don't know where they are.

      I was pretty impressed too. I remember my brother showing it to me. I pulled out the CRC book and entered the most complicated looking integral I saw, and I was amazed that it computed the integeral symbolically . (i.e. not some lame numerical integration by trapezoidal or simpsons rule)

      Seemed like magic at the time. This was probably on an 8088. I'll bet it was less than 400K. probably 1/100 the size of some of the others.

    2. Re:Where are they now?: Derive by khanate · · Score: 2
      I remember using it about 5 years, and liked it since: a) it was relatively fast b) it fit on a floppy Whatever happened to Derive? Who made it?

      They're on to better and smaller things.

      SoftWarehouse Inc was purchased by Texas Intrusments, and put to work. The TI-89, the best calculator ever made, uses "Derive" derived software to do it's symbolic functions (Derivation, Integration, Factorying, etc.)

      The derive software itself is at http://www.derive.com/dfdset.htm

  58. Erable for the HP48GX: Woohoo! by / · · Score: 3

    I know this isn't the response you're looking for, but if you want a really powerful symbolic math package that's released under the GPL, take a look at Erable (by Bernard Parisse), for the HP48G line of calculators. It can do lots of things (especially certain types of symbolic integration) that even Maple can't touch, and at a fraction of the speed!

    And the fact that it only runs on saturn processors is easily outweighed by the small footprint: only 100k! You couldn't find anything sexier than this if you had Tux in a g-string.

    --
    "If one is really a superior person, the fact is likely to leak out without too much assistance" -- John Andrew Holmes
  59. Spiral to off topicness by toast0 · · Score: 1

    unless sgi's multiprocessing works a lot different than linux's, you'ld have to run a multithreaded thing to really slow down everybody on the 8 way (one cpu per thread is usually the only allowed value)

    although i depending on the normal load, losing a processor to infinite loop would be bad or horrible

  60. Re:Try OS Math Master by Frederic54 · · Score: 1

    oh no, not this link again :o)
    --
    BeDevId 15453
    Download BeOS R5 Lite free!

    --
    "Science will win because it works." - Stephen Hawking
  61. Ive used it and it works really well. by gimpboy · · Score: 1

    The interface is alot like matlab. Also the help commands are alot alike. IMO If you doalot of matrix manipulation, you should check it out.



    john

    --
    -- john
  62. Python is it! by Wolfier · · Score: 1
    May sound weird, but Python makes an excellent numerical tool thanks to its rich built-in toolset.

    There're packages that once installed, makes Python almost the perfect tool, at www.python.org/topics/scicomp/. I remember one of the most complete packages only have 2 not-very-long source files. Impressive.

    If you don't use Python often, and need Matlab interoperativity tho, Octave is very good.

  63. Yes, but by exergetic · · Score: 2

    >Matlab has a linux port at my campus bookstore for about $100.

    The student VERSION of Matlab does have Linux and windows binaries, but the integrated editor and debugger IS NOT available for Linux. Sure, you can write your programs in emacs or whatever text editor you want, but you don't get the context hilighting, and if you write anything of even moderate complexity you will want a debugger. A search of Mathworks' web site reveals that they are "considering" porting the editor and debugger to other OS'es, including Linux. I use Matlab in my classes, and I'm TA'ing an introductory course in Matlab. I was just a little dissapointed when I found out about the debugger (after about an hour of trying to get it to run - NOWEHRE in any manual or help file does it mention the fact that there is no debugger in the Linux version)

    Notice also I said the student VERSION - if anyone is contemplating buying (or uhh.. otherwise obtaining) Matlab, make sure you get the student VERSION. The student EDITION is handicapped. The student VERSION is fully featured and includes Simulink for modeling control systems.

  64. virtual math book needs open source math stuff! by six11 · · Score: 1

    We have a small grant to develop a web-based virtual math book this summer. The details of this that might interest to this thread are: a) We have to develop (or find) a framework for doing numerical and symbolic math in a web browser (specifically things related to linear algebra), b) we need to create (or find) components for editing/displaying equations, c) this will be GPL'ed wherever possible, unless higher powers intrude. The design is still up in the air, however, and everybody is free to give input.

  65. MAXIMA, JACAL by donio · · Score: 1

    MAXIMA is a Common Lisp implementation of the famous Macsyma system.

    JACAL is a Scheme/SLIB based symbolic mathematics system.

  66. I wouldn't call it "Heresy" by six11 · · Score: 1
    I'm no open source zealot, either. I don't think that there is one fundamental philosophy that applies to all situations at all points in time. But I think that people tend to go with closed-source when open-source is more appropriate, and I believe Wolfram would stand to benefit if they open sourced parts of mathematica.

    The reason that I say this is that there are bugs in mathematica that SHOULD NOT BE THERE. This goes beyond the usability glitches--every complex software application has its share of locusts. But there are some (a few that I have been aware of) conceptual bugs in some of the computation algorithms that have been there for a few releases. A guy I know actually contacted them about this, and they bug was STILL there in the next release.

    If Wolfram were to open source the algorithm code, people could fix bugs and improve efficiency. This would not bother their own development process. With the libraries under the LGPL and their integration software under a closed-source licence, it would improve the quality of the software as a whole, they could still sell it at the same price, and the quality would improve. Dig?

  67. Re:Ummm... by techwatcher · · Score: 1

    If you will reread the original inquiry, you will notice that this chemist is NOT a frequent user of Mathematica and therefore probably forgets how to use it (between rare occasions).

    • It may be easier to use paper and pencil than to:
    • Find the manual
    • Read the manual
    • Work out how to apply the identified syntax/operators to the problem!
  68. Email me if interested in Open-Src. Sci. Workplace by wait · · Score: 1
    I'm a graduate student in Quantum Computing (my advisors discovered Quantum Teleporation and Quantum Cryptography). In 1991/1992 I developed the arbitrary precision math code for a symbolic math-package that had hoped to compete with Maple/Mathematica by including an integrated word-processor and spread-sheet. That project, "Lab-writer", died by 1992 or so but I think it's time to try it again.

    There has been some interest on the LyX mailing list regarding extending that software with a symbolic math-package. I am happy to coordinate this project and can personally work on QC simulation code (mostly linear algebra). (The reason we need yet another QC simulator is a topic for another day!) If you are interested in this idea please Email me! Be sure to try out LyX if you are not already familiar with it. Math-package(s) will be selected based on their ease of interface with LyX and selfishly if they have the operations I need. Obviously people who can code or test are very important but at this stage Email from any potential user will be helfpful in convincing the LyX team this is a project they should support.

    A flood of thoughtful email would be great-- I think it's pathetic that universities around the world are pouring millions into proprietary closed-source "Scientific Workplace" type solutions when they could be using that money to support an open-source effort instead!

    --Alexander (Sasha) Wait

  69. symbolicMath::openSource by trino · · Score: 1

    Well, I am using mathematica, too, and I have managed to get at least a GPL-ed frontend. The one I got is for the text console, it has got command and filename completion, and if only we could add some decent support for Unicode Character Encoding .... Youll find the original code if you just look for it long enough at www.wolfram.com, I myself added a little code (colors, ..). Tell me if youd like me to mail you my version ....

  70. Maybe Cassiopeia by Atev · · Score: 1

    I think I saw something about a Cassiopeia running Maple V on Casio's page. The price didn't look really BAD, but I don't know what you need. It's portable for sure and looks like a killer. The price includes Maple as far as I remember, so it was like getting Maple for almost free.

    Sorry, no memories of the wherabouts of Casio's main page. Chek under calculators or PDAs. Maybe this would be better for you, though it costs.

    --
    The danger from computers is not that they will eventually get as smart as men, but we will meanwhile agree to meet them
  71. Damn Time there was an Open Source SymbMath packag by GC · · Score: 2


    I have looked for one of these, having messed about with Maple V years ago at university. I also looked at some of the Mathematica GUI (I xhosted my workstation once to allow someone in Sweden to output some stuff on my display in the UK) These are great apps, but their commercial cost is high - deservedly or not.

    I tried looking at MuPad, but the damn thing wanted me to write off to the authors to ask to use the software, also I'm not sure that it was truely Open Source.

    I don't want to pay for Mathematica/Maple especially at the prices they are licensed at.

    If someone starts a project on this type of software which has the power that Mathematica/Maple has - then I would be very interested. I might even be prepared to pay $40 for such software, but it would be a dream if it were made Open Source (ie Licensed under the GPL)

  72. We can do better than Mathematica by astrophysics · · Score: 1

    I've been a fond user of Mathematica for several years, but a couple of years ago I got to where I could do integrals that Mathematica couldn't. For integrals that require choosing a contour in the complex plane and integrating along brach cuts, it leaves a lot to be desired. Maple is slightly better, but not much and has a bad UI.

  73. Calc and emacs by Uruk · · Score: 2

    If you like calc, it's probably written in elisp, which is just regular common lisp with a little bit of sugar here and there to tie it into emacs.

    Porting calc from elisp to common lisp should be relatively easy, and once it's in lisp, you can run it with CLISP or any number of good high-quality free lisp implementations that come with source.

    Porting calc has extra benefits too (if it's written in elisp and is portable) - first you would have done the community a favor by contributing work, and second, you wouldn't have to learn a new program. :)

    --
    -- Truth goes out the door when rumor comes innuendo. -- Groucho Marx
  74. Closed source == locked in by divec · · Score: 2
    What platform DOESN'T run mathematica?

    If Mathematica loses its dominant position and stops being developed, then your next computer may be a platform on which mathematica doesn't run. Anyone who's ever owned a microcomputer which isn't PC/Mac compatible probably has a shelf full of software that once was popular but now won't run on their current computer. If it were open-source, this would be less likely since anyone could do the porting.
    it's probably not very realistic to expect open source programmers to learn exactly what a Hermite polynomial is

    Since many are scientific academics I imagine lots of them know. However, it would be possible to have a basic OS-dependent engine, and most functions talking to this engine rather than the OS; that way, you could port freematica without understanding Hermite polynomials.
    --

    perl -e 'fork||print for split//,"hahahaha"'

  75. Does Mathematica create net benefit? by divec · · Score: 2

    There must be a huge number of students to whom a copy of Mathematica would be worth something less than the student price. Since the marginal costs for software are zero, it works out as a huge net waste to the economy that they can't get hold of it. Also, its existence makes it less profitable to develop a lower-powered, lower cost alternative which they might buy, because no "power users" would bother with it.

    Of course, if they hadn't charged a license fee, Wolfram might never have created mathematica, and their might only be the "lower power, lower cost" alternative. This would also be a huge net waste to the economy.

    My point is that neither system, as it stands, is economically efficient in this case. Just because Mathematica benefits some people, it doesn't mean they create net benefit for the community as a whole. On the other hand, they don't neccessarily create net loss for the community as a whole, in the way that a proprietory application does if its existence is all that stops an equivalent-powered free version from being developed.

    This is from a purely economic point of view, disregarding the moral question of whether non-free software is evil, or whether not giving people control over their IP is evil.

    --

    perl -e 'fork||print for split//,"hahahaha"'

    1. Re:Does Mathematica create net benefit? by bgue · · Score: 1

      ...it works out to a huge net waste to the economy that they can't get a hold of it. ('it' being Mathematica).

      And that's surely what's important, whether the economy benefits, right? Maybe whether *people* benefit?

      Market-economic analysis is best left in the classroom, IMO. By your argument, anything without a marginal cost should be given away for the most economic benefit. That's clearly true for *social* benefit, but (looking only at the product sales) nobody gets rich without any source of revenue (if only an IPO...heh).

      Economists masquerade arguments for bloody self-interest or for social well-being in economic ones that are usually fallacious...might as well just get down to the point without worrying about whether "the economy" benefits as an entity.

  76. Try NetMath by AxelBoldt · · Score: 2
    a) We have to develop (or find) a framework for doing numerical and symbolic math in a web browser (specifically things related to linear algebra), b) we need to create (or find) components for editing/displaying equations

    Check out NetMath which I believe does exactly what you want.

    --

  77. Is nothing sacred? by JayBonci · · Score: 1

    Maple is awesome. It is ever getting better, and its fast and can do some speectacular stuff.. go to waterloomaple.com and check it out sometime.
    Why not leave it alone? This is what i dislike about the code-communist view of some open source people. Play with the OS, Leave the apps alone. It kinda sickens me for everyone to destroy people's livelyhood by ganging up and creating a free alternative to paid software. Maple and the maple community at large are an excellent group of academic scholars. Leave it alone.
    Why not create a VMWare clone? why not create a million or so wordperfect clones? why not create an everything clone? Leave good enough alone and focus on the os.
    Open source is about making good software, not distroying businesses making a decent living. Lets keep it in focus people. --jay

    1. Re:Is nothing sacred? by loudici · · Score: 1

      Having the source available is much more than a detail if you want to use software as a tool for research. If you use Maple to produce a scientific result it means the validity of your result depends on the correctness of Maple's code, which is something you do not have access to. I do not like that idea, personnaly.

      not that i would really check the source code, but it is good to know i would be able to
      ---

      --
      Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
    2. Re:Is nothing sacred? by JayBonci · · Score: 1

      Thing is, that you know the libraries are correct because you can view the source of a lot of the libraries, and people can verify it through the community.
      What im saying is that the engine could be proprietary, and the libraries are not. The stuff is all mathematical cookbook anyways, why bother closing the source on them.
      Maple is dependable. its written by experts, ans supported by experts. Its a good community
      --jay

    3. Re:Is nothing sacred? by loudici · · Score: 1

      >Maple is dependable. its written by experts, ans >supported by experts. Its a good community

      So they say. But how can i believe them if they do not show me the source?
      ---

      --
      Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
    4. Re:Is nothing sacred? by JayBonci · · Score: 1

      You use it, you test it, you use a "free trial". In fact my option i believe to be more useful than pawing through piles of source code that some other guy wrote This works like any other product... use it, and deal with it. Source code for an application is not necessary with good documentation. When contracting someone to build a home, do you ask where every nail is going to be placed? No, you have better things to do with your time. You trust that the name of the contractor is good enough and you get in touch with them if there is a problem. what do you want the source to? the libs, the engine, or both.

    5. Re:Is nothing sacred? by loudici · · Score: 1

      Building a house is quite a different activity from producing scientific results. The facts exposed in a scientific paper are supposed to be reproductible by anybody. The fact that people need to believe in Maple in order to believe in my results is not something i like. And testing won't help much. What do i compare Maple's results to if it is the only tool i have? I might be a bit stiff on my principles but...
      ---

      --
      Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
    6. Re:Is nothing sacred? by JayBonci · · Score: 1

      The thing is, all of the mathematical methods they use are explained. By sheer mass of user base, bugs will come out, and get ironse dout quickly. people publish their own open source libraries and the like, and the ones maple provide have usually been mathematically proven. You can use a math cookbook, or even do out a calculation by hand to prove it. .that is what they have done.. Its not like what they are doing isnt documented. You can get a mth book almost anywhere. Those formulae get plugged in, adapted to the model via functions, and then it gets crunched out I dont see where the source code is going to help spot a bug in this instance. In graphics code, or in drivers, or in os kernel code perhaps, but this is math.

  78. Free w/ Source Computer Algebra Systems by YoJ · · Score: 1
    The following systems are freely distributed with full source code. They are more specialized programs, but can also do most of the basic stuff as well.

    • Macaulay2 is for algebraic geometry and commutative algebra. (Not too user friendly at the moment)

    • Gap is for computational discrete algebra.

    • PariGP is good for number theory stuff.

    They are all fun to play around with. You just can't get discouraged if you don't understand a lot of the commands (they have some WEIRD functions that probably only a handful of people in the world fully understand).

    Nathan Whitehead

  79. emacs calc problems by Phil-14 · · Score: 1

    Actually, I have run into problems with calc before, although I don't remember the details; there are, however, equations it can differentiate that it can not integrate again. I can't remember the exact details, as I said. I think it was something like 1/(x-a)^4 or something like that.

    --
    (currently testing something about signatures here)
  80. Weird. by Abigail-II · · Score: 2
    What surprises me is that the poster says Mathematica and Maple are hardly a substitute for pen and paper (something I don't agree with, but then, I'm not a genius), yet he argues for an open source symbolic math package.

    -- Abigail

  81. Creating a package? by gregbaker · · Score: 2

    It seems to me that I remember seeing references to papers on computer algebra in some of Maple's help files. They'd say stuff like "This function uses the method for ____ described by ___ in ______."

    If people are working on such a beast, that would be a good reference. Not to mention that a lot of schools offer a grad course in Computer Algebra.

    Greg

  82. Macsyma is quirky but good by jetson123 · · Score: 2
    I have used various versions of Macsyma in the past, and I found it to be very good and reliable. I strongly recommend people give it a try and don't get put off by the options and syntactic quirks it may seem to have at first sight.

    On using packages like Macsyma, many commercial ones seem to promise that they can solve your problems automatically. But for most non-trivial problems, what those packages shine at is bookkeeping during complex manipulations; the guidance and inspiration still needs to come from the user (and this is true of all of the packages I have used).

    It's great that Macsyma is now officially free as Maxima (I had been using older versions that you could download but whose copyright status was complex). I hope Maxima will become a standard part of Linux distributions and that more people will start developing packages for it again.

  83. Did you try NumExp? by Albie · · Score: 1

    I'm developing NumExp and I would like to have people using it, and asking for new features.

  84. Re:How's about a calculator? by nathanh · · Score: 1

    Maybe because he needs a symbolic answer, not the discrete solution that a graphing calculator is going to provider. There are plenty of cases when the discrete integral is useless.

    And even if the discrete integral was sufficient, often it's the case that the dataset is simply too large for a calculator to deal with. I'm thinking in particular of some scientists I know who work with 2gigabyte datasets which they integrate. They use 600mhz pentium-3 farms and a typical integral still takes a few hours. The integral is obviously a lot more complicated than Int(sin(x))!

  85. PARI? by JPS · · Score: 1

    This program was initially mostly made for number theorists, and I haven't really extensively used it myself, but many people told me good things about it. I'm pretty sure it's free, but it might not be OSS. You can check it out.

    1. Re:PARI? by loudici · · Score: 1

      Pari is a really impressive piece of software, but its focus is quite clearly on number theory and algebraic geometry. If you do not know what a groebner base is you do not need it.
      ---

      --
      Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
  86. Reduce is a very powerful symbolic maths tool by flossie · · Score: 1

    Reduce is not freely distributable (a la GPL) but the source code is available to allow debugging, porting, etc. The license cost is fairly modest, approx US 99 + tax/shipping for a personal license. More information can be found at http://www.zib.de/Symbolik/reduce

  87. Maxima IS GPL now!!! by loudici · · Score: 1

    Until recently, Maxima was property of the US DOE, and they required a licence to use it, which prohibited using it officially. The maintainer, William F Shelter recently got permission from the DOE to distribute it under the GPL.

    This is very good news and should have been a slashdot item by itself.
    Maxima is written in LISP
    ---

    --
    Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
  88. review of all those? by loudici · · Score: 1

    Looks like there is a handful of projects in the open source world that deal with these issues. It would be good to have a review and/or directory of these, to know which project has which feature and maybe run a few benchmarks, as well as prevent people to re-invent the wheel when they need a functionality.

    I am sure there are problems for which the $$ Maple or Mathematica ask for are worth it, but it is hard to know exactly which problems, and why they are not tackled by open source projects.

    SAL.kachinatech.org works well as a directory but hardly does any review of the listed projects.
    ---

    --
    Dev elpizw tipota, dev phoboumai tipota eimai lephteros http://euclidian.org
  89. Not interested in numerical solutions by edremy · · Score: 1

    Sadly, the folks answering these questions don't understand what the original poster wanted. (Witness people bringing up Octave all the time- it's not in the same class as Mathematica.)

    He and I don't care about numerical solutions. (Well, we do, but not all the time.) Numerical solvers are a dime a dozen. We want symbolic math. Macsyma appears to be about the only free option here.

    For example, in the physical chemistry class I'm teaching now you can occasionally get some ugly integrals or differential equations. I want to get back the functional form of those integrals, not some number. That's what's hard, and lacking from virtually every freeware/open source code out there.

    --
    "Seven Deadly Sins? I thought it was a to-do list!"
  90. KASH by raym · · Score: 1

    You might like to take a look at KASH (Computational Algebreic Number Theory Shell) which is freely available, but I'm not sure that it's open source. Check out their web site for more information.

  91. There are great alternatives by Habanero · · Score: 1

    I own Mathematica v3 for Linux and I use it for many things. But for most of these, (except possibly computing integrals) there are free and better licensed alternatives.

    For example, Singular and Macaulay are super alternatives if you need Groebner bases type computations done. They are better, faster too.

  92. Pythonica? by fawcett · · Score: 1
    I don't know anything about it, so caveat emptor, but there's a python-based app called Pythonica that claims to be 'inspired by Mathematica'. It isn't there yet; this quote is from the author:
    Pythonica demonstrates how symbolic mathematics can be implemented on a computer. As a research tool, it is inadequate, but it may serve as a useful tutorial for those wishing to understand better how such programs operate. With additional work, it could even be made into a minor math tool useful to those who can't justify the purchase of expensive commercial software.
    But perhaps with a bit of support from other interested /.ers it might become something.

    (python guy)
  93. And they charge for it! by BOredAtWork · · Score: 2
    And they want $38 EVERY TIME you transfer OS's. Or did two years ago. I loved mathematica, but it lives on my windows partition because I'm not paying to transfer to Linux. I have the CD. I should be allowed to install it on whatever OS I wish, without having to pay extra for the priviledge. I'd fill out the stupid form, but I'll be damned if I'm sending a check along with it. Do they still charge for a system transfer?

    --

    --

    --
    Just lurking, thanks!

  94. here by cfish · · Score: 1

    dear quantum chemist,

    buy a TI-92

    Mathematician