Genius (mathematics software)
{{Short description|Free open-source numerical computing environment and programming language}}
{{Infobox software
| name = Genius
| logo =
| screenshot =
| caption =
| developer = Jiri Lebl
| latest release version = {{wikidata|property|edit|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| operating_system = Cross-platform (Linux, macOS)
| programming language = C
| genre = Technical computing
| license = GPL
| website = {{URL|https://www.jirka.org/genius.html}}
}}
Genius (also known as the Genius Math Tool) is a free open-source numerical computing environment and programming language,
{{cite web
|url=https://www.jirka.org/genius.html
|title=Genius
|publisher=www.jirka.org
|access-date=2009-03-06
|last=
|first=
}}
similar in some aspects to MATLAB, GNU Octave, Mathematica and Maple. Genius is aimed at mathematical experimentation rather than computationally 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 interface and a GUI, 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,{{cite mailing list |url=https://www.jirka.org/genius-list/archive/0075.html |title=Genius Future: Dr.Genius (Dr.Geo+Genius) |date=6 Sep 1999 |access-date=18 June 2024 |mailing-list=genius-list |last=Lebl |first=George}} but this merge never materialized.{{cite mailing list |url=https://lists.gnu.org/archive/html/savannah-hackers/2002-07/msg00670.html |title=savannah.gnu.org: submission of Dr. Geo |date=24 Jul 2002 |access-date=18 June 2024 |mailing-list=savannah-hackers |last=Fernandes |first=Hilaire |quote=DrGeo was replaced by Drgenius when merging with the Genius software but DrGenius will be again replaced by DrGeo in new the version.}} 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
{{Portal|Free and open-source software}}
Notes and references
{{Reflist}}
{{Numerical analysis software}}
Category:Array programming languages
Category:Free educational software
Category:Free mathematics software
Category:Free software programmed in C
Category:Numerical analysis software for Linux
Category:Numerical analysis software for macOS
Category:Numerical programming languages