4.1.1.13 Elements Objects

class Elements
The category of all elements of a given object.

sage: a = IntegerRing()(5)
sage: C = a.category(); C
Category of elements of Integer Ring
sage: a in C
True
sage: 2/3 in C
False
Elements( object)

Instances of class Elements have the following methods (in addition to inherited methods and special methods):

object

Instances of class Elements also have the following special methods:

__repr__,$  $ _latex_

See About this document... for information on suggesting changes.