September 16, 2003 Isaac Leung (P.Eng.) got a degree in Engineering Physics followed by a Master's in Electrical Engineering after which he promptly got a job as a product engineer at a company which makes high speed datacom chips. Following the dotcom meltdown, he's back at school studying biophysics and optical properties of semiconductors. He is old enough to have cut his computer teeth on Commodore 64's and first played with OS/2 1.3 EE while at a summer job with IBM. The first PC he ever owned came with Windows 95, but he soon slapped on OS/2 Warp 3 and has been Warping ever since. In between looking for a new job, he plots to take over the world. If you have a comment about the content of this article, please feel free to vent in the OS/2 eZine discussion forums. There is also a Printer Friendly version of this page. 

Euler 1.23A while back, OS/2 eZine took a took a look at Octave which was a mathematics package for OS/2. It was meant to be a Matlab (a commercial application) clone which was completely opensource, released under GPL (GNU Public License). While it had a few rough edges, and you had to install gnuplot yourself if you wanted graphing capabilities, it was more well known to me and seemed to be a package that more people were using. Plus, it was almost completely Matlab compatible.
Recently, I had a chance to take a closer look at Euler v1.23, and I wish I had done
so earlier! Euler is a very polished program that is relatively easy to use.
 
What is Euler?To refresh the memory of those of you not familiar with the likes of Matlab, Euler is a program specializing in dealing with discrete mathematics and data (unlike MapleV, which also had a nice OS/2 version at one time). While in highschool, most of you probably dealt with functions. But in the real world, what you really handle is data. It's always data, so often times, packages such as Matlab or Euler are much more useful. You either type in the data, read it from a file, create it or whatever you want. Using Euler, you can then manipulate them, analyze them or plot them any way you wish.
I'll give a comparison of Euler vs. MapleV to illustrate the difference.
In MapleV, you might issue such a command to plot a function:
In a program like Euler (or Matlab or Octave), you need to take care of that yourself:
Perhaps a better example to illustrate the difference. In a program like MapleV,
you can ask it to do some integration:
Anyways, enough of the math lesson, let's show off a bit of Euler. Installing EulerFirst thing you need to do is download and install Euler. You can download Euler 1.23 from hobbes, don't worry, it is amazingly small, less than 500kb. Just unzip the package into the directory you want, and that's it. To run Euler, just execute "euler.exe". Very simple, no reboots, no messing with CONFIG.SYS or anything. Using Euler
As with similar programs, all commands are entered simply through a textbased
window. I'm not going to go into too much detail about Euler command and syntax, that's
entirely another article (or more!) in itself. And Euler comes with good help
files, demo and tutorials.
Those of you accustomed to Matlab or Octave will feel right at home. Euler is specifically not a Matlab clone, but the commands and syntax are similar, if not identical, in many ways. (My guess is the author wanted a Matlabclone, but it's easier when you don't have to absolutely ensure your application is 100% compatible). With Euler, you can do many of the functions you might expect of a package of this sort. Basic math, matrix manipulations, some statistical analysis, Fourier transforms and of course, graphing capabilities too. Graphs will appear in a separate window. Programming capability is also included in Euler. So, if you know what you're doing, you can whip up some pretty complicated numerical simulations or visualizations. Graphing Capabilities
Of course, this is the fun part! Numbers are so boring until you plot them.
There are basic 2D type of graphs, for example, this simple line and histogram plot.
DocumentationIn terms of documentation, Euler seems quite complete. As you can note in the screenshot of the main window above, it isn't just an OS/2 commandline window. The menus do work and the help menu brings up real help in the IBM .INF viewer. On top of the online help, there are some HTML files included giving examples and some documentation. Within Euler itself, there is a very complete demo (accessible from the "File>Load Demo" menu) which not only shows what it can do, it clearly explains which commands to use to do it. All in all, I think this is very professionally done. Contrast to Octave (which, in its defense, works just like Matlab) where you do not have a searchable online Help and some of the stuff isn't as nicely written or complete. In the future...Unfortunately, the last port to OS/2 is v1.23 while the latest version of Euler on other platforms is v1.73. Actually, that's not so far behind, and the only reason is that we have nobody to compile the latest version for OS/2. It is not because support is discontinued or it can't work on OS/2. Euler is completely opensource, released under GPL, so it would be great to have someone take over and keep the OS/2 version up to date. It would be a shame to lose such a nice piece of programming for OS/2. ConclusionThose of you who rely on applications like this "professionally" may also like Euler. You'll have to do a good evaluation yourself to make sure all functions you need are present. There is nobody working on Euler for OS/2 right now, while Octave appears to be still active, if very, very slow in development. Right now, Euler works. Better than Octave, as I don't have to mess with gnuplot and Octave and getting the right versions together. I've never had Euler go down (yet), but the Octave/gnuplot combination has died on my quite often. It's a minor hassle as long as you've saved your work (it doesn't mess up OS/2 itself), but something Euler doesn't seem prone to.But if you're looking for a tool that will plot your data nicely, or maybe just something to play with as a teaching tool, I now think Euler is your best bet on OS/2. It's free, it's availalable, it's easy to install, it's stable and nicely done. Related LinksDownload Euler 1.23 from hobbes.nmsu.eduHomepage for Euler (info and source code) 

