settings
¶
Global settings for the package.
- class sage_acsv.settings.ACSVSettings[source]¶
Global settings for the package.
This class is used to store global settings for the package. It provides a mechanism to set and get the default settings.
EXAMPLES:
sage: from sage_acsv import ACSVSettings sage: list(ACSVSettings.Output) [<OutputFormat.ASYMPTOTIC: 'asymptotic'>, <OutputFormat.SYMBOLIC: 'symbolic'>, <OutputFormat.TUPLE: 'tuple'>] sage: ACSVSettings.Output.ASYMPTOTIC <OutputFormat.ASYMPTOTIC: 'asymptotic'> sage: ACSVSettings.set_default_output_format("tuple") sage: ACSVSettings.get_default_output_format() <OutputFormat.TUPLE: 'tuple'> sage: ACSVSettings.set_default_output_format("symbolic") sage: ACSVSettings.get_default_output_format() <OutputFormat.SYMBOLIC: 'symbolic'> sage: ACSVSettings.set_default_output_format() sage: ACSVSettings.get_default_output_format() <OutputFormat.ASYMPTOTIC: 'asymptotic'>
- Groebner¶
alias of
GroebnerBackend
- Kronecker¶
alias of
KroneckerBackend
- MAX_MIN_CRIT_RETRIES = 5¶
- Output¶
alias of
OutputFormat
- classmethod get_default_kronecker_backend()[source]¶
Get the default kronecker representation backend.
- classmethod get_default_output_format()[source]¶
Get the default output format chosen when not explicitly specifying one.
- classmethod set_default_groebner_backend(backend)[source]¶
Set the preferred method for performing Groebner Bases and related computations, including
groebner.compute_groebner_basis()
,groebner.compute_primary_decomposition()
, andgroebner.compute_radical()
.Will default to singular.
INPUT:
backend
– a givenGroebnerBackend
, a string identifying one, orNone
to restore the default behavior.
- classmethod set_default_kronecker_backend(backend)[source]¶
Set the preferred method for computing a Kronecker Representation. Will default to the sage_acsv implementation if not specified.
See
_kronecker_representation()
.INPUT:
backend
– a givenKroneckerBackend
, a string identifying one, orNone
to restore the default behavior.
- classmethod set_default_output_format(output_format=None)[source]¶
Set the default output format chosen when not explicitly specifying one.
INPUT:
output_format
– a givenOutputFormat
, a string identifying one, orNone
to restore the default behavior.
- classmethod set_logging_level(level)[source]¶
Set the logging level for the package.
INPUT:
level
– a logging level.
EXAMPLES:
sage: from sage_acsv import ACSVSettings sage: import logging sage: ACSVSettings.set_logging_level(logging.DEBUG) sage: ACSVSettings.get_logging_level() 10 sage: ACSVSettings.set_logging_level(logging.INFO) sage: ACSVSettings.get_logging_level() 20
- class sage_acsv.settings.GroebnerBackend(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Options for computing Groebner Bases and related ideal functions
groebner.compute_groebner_basis()
,groebner.compute_primary_decomposition()
, andgroebner.critical_points()
.See also:
- MACAULAY2 = 'macaulay2'¶
- SINGULAR = 'singular'¶
- class sage_acsv.settings.KroneckerBackend(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Options for computing Kronecker representations determined by
contributing_points_combinatorial()
,minimal_critical_points_combinatorial()
, andcritical_points()
.See also:
- MSOLVE = 'msolve'¶
- SAGE_ACSV = 'sage_acsv'¶
- class sage_acsv.settings.OutputFormat(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Output options for displaying the asymptotic behavior determined by
diagonal_asymptotics_combinatorial()
.See also:
- ASYMPTOTIC = 'asymptotic'¶
- SYMBOLIC = 'symbolic'¶
- TUPLE = 'tuple'¶