Top
Back: changevar
Forward: defrings
FastBack: random_lib
FastForward: Linear algebra
Up: ring_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.8.4 defring

Procedure from library ring.lib (see ring_lib).

Usage:
defring(ch,n,va,or); ch,va,or=strings, n=integer

Return:
ring R with characteristic 'ch', ordering 'or' and n variables with names derived from va.
If va is a single letter, say va="a", and if n<=26 then a and the following n-1 letters from the alphabet (cyclic order) are taken as variables. If n>26 or if va is a single letter followed by a bracket, say va="T(", the variables are T(1),...,T(n).

Note:
This proc is useful for defining a ring in a procedure. This proc uses 'execute' or calls a procedure using 'execute'.

Example:
 


Top Back: changevar Forward: defrings FastBack: random_lib FastForward: Linear algebra Up: ring_lib 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.