Genius (mathematics software)

Genius
Developer(s) Jiri Lebl
Stable release v1.0.20 / March 9, 2015 (2015-03-09)
Written in C
Operating system Cross-platform (Linux, Mac OS X)
Type Technical computing
License GPL
Website http://www.jirka.org/genius.html

Genius (also known as the Genius Math Tool) is a free open source numerical computing environment and programming language,[1] similar in some aspects to MATLAB, GNU Octave, Mathematica and Maple. Genius is aimed at mathematical experimentation rather than computation intensive tasks. It is also very useful as just a calculator. The programming language is called GEL and aims to have a mathematically friendly syntax. The software comes with a command line and a GUI interface which uses the GTK+ libraries. The graphical version supports both 2D and 3D plotting. The graphical version includes a set of tutorials originally aimed at in class demonstrations.

History

Genius was the original calculator for the GNOME project started in 1997, but was split into a separate project soon after the 0.13 release of GNOME in 1998. Because of this ancestry, it was also known as Genius Calculator or GNOME Genius. There was an attempt to merge Genius and the Dr. Geo interactive geometry software, but this merge never materialized. Version 1.0 was released in 2007 almost 10 years after the initial release.

Example GEL source code

Here is a sample definition of a function calculating the factorial recursively

function f(x) = (
  if x <= 1 then
    1
  else
    (f(x-1)*x)
)

GEL contains primitives for writing the product iteratively and hence we can get the following iterative version

function f(x) = prod k=1 to x do k

See also

Notes

  1. "Genius". www.jirka.org. Retrieved 2009-03-06.
This article is issued from Wikipedia - version of the Tuesday, March 10, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.