sagemath_fricas: Symbolic computation with the general purpose computer algebra system FriCAS¶
This pip-installable distribution passagemath-fricas
provides an interface
to FriCAS, the general purpose computer
algebra system.
What is included¶
Raw access to the FriCAS executable from Python using sage.features.fricas
Binary wheels on PyPI contain prebuilt copies of FriCAS.
Examples¶
Starting FriCAS from the command line:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-fricas[test]" sage --fricas
Finding the installation location of FriCAS in Python:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-fricas[test]" ipython
In [1]: from sage.features.fricas import FriCAS
In [2]: FriCAS().absolute_filename()
Out[2]: '.../bin/fricas'
Using the pexpect interface to FriCAS:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-fricas[test]" python
>>> from sage.all__sagemath_fricas import *
>>> fricas('1+1')
2
Type¶
optional
Dependencies¶
$(PYTHON)
$(PYTHON_TOOLCHAIN)
cython: C-Extensions for Python, an optimizing static compiler
mpc: Arithmetic of complex numbers with arbitrarily high precision and correct rounding
mpfr: Multiple-precision floating-point computations with correct rounding
sagemath_categories: Sage categories, basic rings, polynomials, functions
sagemath_objects: Sage objects, elements, parents, categories, coercion, metaclasses
Version Information¶
package-version.txt:
10.6.29
version_requirements.txt:
passagemath-fricas ~= 10.6.29.0
Installation commands¶
$ pip install passagemath-fricas~=10.6.29.0
$ sage -i sagemath_fricas
However, these system packages will not be used for building Sage
because spkg-configure.m4
has not been written for this package;
see upstream Issue #27330 for more information.