Features for testing whether interpreter interfaces to magma, maple, mathematica etc. are functional#

class sage.features.interfaces.InterfaceFeature(*args, **kwds)#

Bases: Feature

A Feature describing whether an Interface is present and functional.

class sage.features.interfaces.Macaulay2(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.macaulay2.Macaulay2 is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Macaulay2
sage: Macaulay2().is_present()  # random
FeatureTestResult('macaulay2', False)
class sage.features.interfaces.Magma(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.magma.Magma is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Magma
sage: Magma().is_present()  # random
FeatureTestResult('magma', False)
class sage.features.interfaces.Maple(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.maple.Maple is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Maple
sage: Maple().is_present()  # random
FeatureTestResult('maple', False)
class sage.features.interfaces.Mathematica(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.mathematica.Mathematica is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Mathematica
sage: Mathematica().is_present()  # not tested
FeatureTestResult('mathematica', False)
class sage.features.interfaces.Matlab(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.matlab.Matlab is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Matlab
sage: Matlab().is_present()  # random
FeatureTestResult('matlab', False)
class sage.features.interfaces.Octave(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.octave.Octave is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Octave
sage: Octave().is_present()  # random
FeatureTestResult('octave', False)
class sage.features.interfaces.Scilab(*args, **kwds)#

Bases: InterfaceFeature

A Feature describing whether sage.interfaces.scilab.Scilab is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Scilab
sage: Scilab().is_present()  # random
FeatureTestResult('scilab', False)
sage.features.interfaces.all_features()#

Return features corresponding to interpreter interfaces.

EXAMPLES:

sage: from sage.features.interfaces import all_features
sage: list(all_features())
[Feature('magma'),
 Feature('matlab'),
 Feature('mathematica'),
 Feature('maple'),
 Feature('macaulay2'),
 Feature('octave'),
 Feature('scilab')]