libSingular: Conversion Routines and Initialisation#
AUTHOR:
Martin Albrecht <malb@informatik.uni-bremen.de>
Miguel Marco <mmarco@unizar.es> (2021): added transcendental extensions over Q
- sage.libs.singular.singular.get_resource(id)#
Return a Singular “resource”.
INPUT:
id– a single-character string; see https://github.com/Singular/Singular/blob/spielwiese/resources/feResource.cc
OUTPUT:
A string, or
None.EXAMPLES:
sage: from sage.libs.singular.singular import get_resource sage: get_resource('D') # SINGULAR_DATA_DIR '...' sage: get_resource('i') # SINGULAR_INFO_FILE '.../singular...' sage: get_resource('7') is None # not defined True
- sage.libs.singular.singular.si2sa_resolution(res)#
Pull the data from Singular resolution
resto construct a Sage resolution.INPUT:
res– Singular resolution
The procedure is destructive and
resis not usable afterward.
- sage.libs.singular.singular.si2sa_resolution_graded(res, degrees)#
Pull the data from Singular resolution
resto construct a Sage resolution.INPUT:
res– Singular resolutiondegrees– list of integers or integer vectors
The procedure is destructive, and
resis not usable afterward.