Features for testing whether interpreter interfaces are functional¶
- class sage.features.interfaces.InterfaceFeature(name, module, description)¶
Bases:
sage.features.FeatureA
Featuredescribing whether anInterfaceis present and functional.
- class sage.features.interfaces.Macaulay2(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.macaulay2.Macaulay2is present and functional.EXAMPLES:
sage: from sage.features.interfaces import Macaulay2 sage: Macaulay2().is_present() # random FeatureTestResult('macaulay2', False)
- class sage.features.interfaces.Magma(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.magma.Magmais present and functional.EXAMPLES:
sage: from sage.features.interfaces import Magma sage: Magma().is_present() # random FeatureTestResult('magma', False)
- class sage.features.interfaces.Maple(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.maple.Mapleis present and functional.EXAMPLES:
sage: from sage.features.interfaces import Maple sage: Maple().is_present() # random FeatureTestResult('maple', False)
- class sage.features.interfaces.Mathematica(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.mathematica.Mathematicais 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(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.matlab.Matlabis present and functional.EXAMPLES:
sage: from sage.features.interfaces import Matlab sage: Matlab().is_present() # random FeatureTestResult('matlab', False)
- class sage.features.interfaces.Octave(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.octave.Octaveis present and functional.EXAMPLES:
sage: from sage.features.interfaces import Octave sage: Octave().is_present() # random FeatureTestResult('octave', False)
- class sage.features.interfaces.Scilab(name, module, description)¶
Bases:
sage.features.interfaces.InterfaceFeatureA
Featuredescribing whethersage.interfaces.scilab.Scilabis 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')]