4.13 Interface to Singular

Module: sage.interfaces.singular

Author Log:

The Singular interface will only work if Singular is installed on your computer; this should be the case, since Singular is included with SAGE. The interface offers three pieces of functionality:

  1. singular_console() - A function that dumps you into an interactive command-line Singular session.

  2. singular(expr, type='def') - Creation of a Singular object. This provides a Pythonic interface to Singular. For example, if f=singular(10), then f.factorize() returns the factorization of $ 10$ computed using Singular.

  3. singular.eval(expr) - Evaluation of arbitrary Singular expressions, with the result returned as a string.



Subsections
See About this document... for information on suggesting changes.