Giac, by Bernard Parisse and Renée De Graeve
Giac is a free computer algebra system for symbolic and numeric computation, written in C++. It is developed by Bernard Parisse and Renée De Graeve at the Institut Fourier (CNRS UMR 5582), Université Grenoble Alpes. Giac is the kernel of Xcas, its graphical interface. It is released under the GPL, version 3 or later, with a commercial dual license available on request from the authors.
The authors publish releases, binaries and documentation:
- Giac/Xcas home page
- Xcas project and its documentation
- Source tarballs
- Xcas forum, for questions about Giac itself
This site is not the Giac project. For Giac, start from the links above.
This repository
JuliaGiac/giac holds the upstream sources
with a Meson build, on the
dev branch. The Meson build
lets BinaryBuilder cross-compile libgiac for
every platform Julia supports: the
GIAC_jll
binaries are built from it. The main branch is the original upstream tree.
The Meson build is AI-generated. Fixes to Giac found here are proposed upstream.
meson setup builddir
meson compile -C builddir
meson test -C builddir --suite unit
Prerequisites, build options and per-platform notes are in BUILDING.md. Problems with the Meson build go to the issue tracker.
In browsers and Node.js
The same build compiles libgiac to WebAssembly with Emscripten: giac-wasm is an npm package of Giac for browsers, Web Workers and Node.js, with nothing to compile at install.
import { loadGiac } from 'giac-wasm';
const giac = await loadGiac();
giac.eval('factor(x^4-1)'); // '(x-1)*(x+1)*(x^2+1)'
Part of JuliaGiac
This repository is one layer of JuliaGiac, which brings Giac to Julia through libgiac-julia-wrapper and Giac.jl.