A Mathematica Interface to 4ti2


Software URL

Go to Website
math4ti2.m is an interface package, allowing the execution of zsolve of the package 4ti2 from within Mathematica notebooks. The package is written by Ralf Hemmecke and Silviu Radu.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see

The package

For using the package, download the following file and put it into a directory where Mathematica will find it. For a demonstration of how to use the package see math4ti2.nb.


The git repository is at Github:


Most probably, you must adapt the line
zsolvecmd = "/usr/bin/4ti2-zsolve"; (* location debian package 4ti2 *)
in math4ti2.m in order to call the command from 4ti2 (that you must install separately).


Please report any bugs or other suggestions to Ralf Hemmecke.