Ring( r, s... )
Ring( list )
In the first form Ring
returns the smallest ring that contains all the
elements r, s... etc. In the second form Ring
returns the smallest
ring that contains all the elements in the list list. If any element
is not an element of a ring or if the elements lie in no common ring an
error is raised.
gap> Ring( 1, -1 ); Integers gap> Ring( [10..20] ); Integers
Ring
differs from DefaultRing
(see DefaultRing) in that it returns
the smallest ring in which the elements lie, while DefaultRing
may
return a larger ring if that makes sense.
GAP 3.4.4