From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s) Christian Bauer, Alexander Frink, Richard B. Kreckel, Alexei Sheplyakov, et al.
Initial release 26 November 1999; 18 years ago (1999-11-26)[1]
Stable release
1.7.4 / 19 February 2018; 7 months ago (2018-02-19)
Repository Edit this at Wikidata
Written in C++11
Operating system Cross-platform
Type Mathematical software
License GPL

GiNaC is a free computer algebra system released under the GNU General Public License. The name is a recursive acronym for "GiNaC is Not a CAS" (Computer Algebra System). This is similar to the GNU acronym "GNU is not Unix".[2]

What distinguishes GiNaC from most other computer algebra systems is that it does not provide a high-level interface for user interaction. Rather, it encourages its users to write symbolic algorithms directly in C++, which is GiNaC's implementation programming language. Algebraic syntax is achieved in C++ through the use of operator overloading. The name GiNaC is also explained by its developers' perception that most "computer algebra systems" put too much emphasis on a high-level interface and too little on interoperability.

GiNaC uses the CLN library for implementing arbitrary-precision arithmetic. Symbolically, it can do multivariate polynomial arithmetic, factor polynomials, compute GCDs, expand series, and compute with matrices. It is equipped to handle certain noncommutative algebras which are extensively used in theoretical high energy physics: Clifford algebras, SU(3) Lie algebras, and Lorentz tensors. Due to this, it is extensively used in dimensional regularization computations – but it is not restricted to physics.

GiNaC is the symbolic foundation in several open-source projects: there is a symbolic extension for GNU Octave,[3] a simulator for magnetic resonance imaging,[4] and since May 2009, Pynac, a fork of GiNaC, provides the backend for symbolic expressions in SageMath.[5]

See also[edit]


  1. ^ "GiNaC News & Announcements". Retrieved 29 October 2011.
  2. ^ "GiNaC's mini-FAQ". Retrieved 29 October 2011.
  3. ^ "Octave 'symbolic' package". Retrieved 2011-10-05.
  4. ^ "JEMRIS – MRI simulations software". Archived from the original on 2010-12-19. Retrieved 2011-10-05.
  5. ^ "Pynac FAQ". Retrieved 2015-09-27.

External links[edit]