| 
 | 3.3.1 Examples of ring declarationsThe exact syntax of a ring declaration is given in the next two subsections; this subsection lists some examples first. Note that the chosen ordering implies that a unit-elements of the ring will be among the elements with leading monomial 1. For more information, see Monomial orderings. Every floating point number in a ring consists of two parts, which may be chosen by the user. The leading part represents the number and the rest is for numerical stability. Two numbers with a difference only in the rest will be regarded equal. 
 
 | 
 Online Manual
 Online Manual









![$Z/32003[x,y,z]$](sing_5.png) with degree reverse lexicographical
ordering.  The exact ring declaration may be omitted in the first
example since this is the default ring:
 with degree reverse lexicographical
ordering.  The exact ring declaration may be omitted in the first
example since this is the default ring:
![$Q[a,b,c,d]$](sing_30.png) with lexicographical ordering:
 with lexicographical ordering:
![$Z/7[x,y,z]$](sing_31.png) with local degree reverse lexicographical
ordering.  The non-prime 10 is converted to the next lower prime in the
second example:
 with local degree reverse lexicographical
ordering.  The non-prime 10 is converted to the next lower prime in the
second example:
![$Z/7[x_1,\ldots,x_6]$](sing_32.png) with lexicographical ordering for
with lexicographical ordering for
 and degree reverse lexicographical ordering for
and degree reverse lexicographical ordering for
 :
:![$(Q[a,b,c])[x,y,z]$](sing_35.png) at the maximal ideal
 at the maximal ideal
 :
:
![$Q[x,y,z]$](sing_37.png) with weighted reverse lexicographical ordering.
The variables
 with weighted reverse lexicographical ordering.
The variables 
 ,
, 
 , and
, and 
 have the weights 2, 1,
and 3, respectively, and  vectors are first ordered by components (in
descending order) and then by monomials:
 have the weights 2, 1,
and 3, respectively, and  vectors are first ordered by components (in
descending order) and then by monomials:
![$K[x,y,z]$](sing_41.png) , where
, where 
 denotes the transcendental
extension of
 denotes the transcendental
extension of 
 by
 by 
 ,
, 
 and
 and 
 with degree
lexicographical ordering:
 with degree
lexicographical ordering:
![$K=Z/7[a]$](sing_46.png) denotes the algebraic extension of
degree 2 of
 denotes the algebraic extension of
degree 2 of 
 In other words,
 In other words, 
 is the finite field with
49 elements.  In the first case,
 is the finite field with
49 elements.  In the first case, 
 ,in the second case,
,in the second case, 
![$R[x,y,z]$](sing_50.png) , where
, where 
 denotes the field of real
numbers represented by simple precision floating point numbers. This is
a special case:
 denotes the field of real
numbers represented by simple precision floating point numbers. This is
a special case:
![$R(j)[x,y,z]$](sing_52.png) , where
, where 
 denotes the imaginary unit.
 denotes the imaginary unit.
![$R(i)[x,y,z]$](sing_54.png) , where
, where 
 is the default for the imaginary unit.
 is the default for the imaginary unit.
![$Z[x,y,z]$](sing_56.png) :
:
![$Z/6^3[x,y,z]$](sing_57.png) :
:
![$Z/100[x,y,z]$](sing_58.png) :
:
