Macaulay2 » Documentation
Packages » Macaulay2Doc :: ancestors
next | previous | forward | backward | up | index | toc

ancestors -- the ancestors of something

Synopsis

Description

i1 : ancestors String

o1 = {String, Net, Thing}

o1 : List
i2 : ancestors class 3

o2 = {ZZ, Number, Thing}

o2 : List
i3 : ancestors class 3.

o3 = {RR, InexactNumber, Number, Thing}

o3 : List
i4 : ancestors ring 3.

o4 = {RR  , RR , InexactNumber , Nothing, Thing}
        53    *               *

o4 : List
i5 : ancestors class ring 3.

o5 = {RealField, InexactField, EngineRing, Ring, Type, MutableHashTable,
     ------------------------------------------------------------------------
     HashTable, Thing}

o5 : List
i6 : ancestors 3

o6 = {3, Nothing, Thing}

o6 : List

See also

For the programmer

The object ancestors is a function closure.