Top
Back: pyobject expressions
Forward: pyobject related functions
FastBack: polytope
FastForward: countedref
Up: pyobject
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.26.3 pyobject operations

+
addition

-
negation or subtraction

*
multiplication

/
division

^, **
power by a positive integer

<, <=, >, >=, ==, <>
comparators (considering leading monomials w.r.t. monomial ordering)

pyobject_expression [ int_expression ]
get the item from the pyobject by index
pyobject_expression ( pyobject_expression_sequence )
call the pyobject with a sequence of python arguments (the latter may be empty)

pyobject_expression . ( string_expression | name ),
pyobject_expression :: ( string_expression | name ) get attribute (class member) of a python object


Example:
 


Top Back: pyobject expressions Forward: pyobject related functions FastBack: polytope FastForward: countedref Up: pyobject Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.