Macaulay2
»
Documentation
Packages
»
Python
::
Table of Contents
next | previous | forward | backward | up |
index
|
toc
Python : Table of Contents
Python
-- interface to Python
abs(PythonObject)
-- absolute value of a python object
addPyToM2Function
-- convenience function for adding value hooks
ceiling(PythonObject)
-- ceiling of a python object
context
(missing documentation)
dict
(missing documentation)
eval
(missing documentation)
expr
(missing documentation)
floor(PythonObject)
-- floor of a python object
getattr
-- get an attribute of a python object
getitem
-- get elements of python sequences
hasattr
-- whether a python object has an attribute
help(PythonObject)
-- documentation for python object
import
-- import a Python module
isMember(Thing,PythonObject)
-- test membership in a python object
iterator(PythonObject)
-- get iterator of iterable python object
length(PythonObject)
-- returns the length of a python object
next(PythonObject)
-- retrieve the next item from a python iterator
objectType
-- type of a python object
Preprocessor
(missing documentation)
pythonHelp
(missing documentation)
PythonObject
-- a python object
PythonObject ~
-- bitwise not of a python object
pythonValue
-- execute Python source code from a string
quotientRemainder(PythonObject,PythonObject)
-- quotient and remainder of python objects
round(ZZ,PythonObject)
-- round a python object
runSimpleString
-- execute Python source code from a string in __main__
setattr
-- set an attribute of a python object
setitem
-- set elements of mutable python sequences
stmt
(missing documentation)
stmtexpr
(missing documentation)
symbols
(missing documentation)
toFunction
-- convert callable python objects to Macaulay2 functions
toPython
-- convert Macaulay2 things to Python objects
truncate(PythonObject)
-- truncate a python object
val
(missing documentation)
value(PythonObject)
-- convert python objects to Macaulay2 things
valuestring
(missing documentation)