Singular Manual: defrings

| #### D.2.12.5 defrings Procedure from library `ring.lib` (see ring_lib). Usage: defrings(n,[p]); n,p integers Return: ring R with characteristic p [default: p=32003], ordering ds and n variables x,y,z,a,b,...if n<=26 (resp. x(1..n) if n>26) Note: This proc uses 'execute' or calls a procedure using 'execute'. Example:
    LIB "ring.lib";
    def S5=defrings(5,0); S5; "";
    ==> // coefficients: QQ
    ==> // number of vars : 5
    ==> //        block   1 : ordering ds
    ==> //                  : names    x y z a b
    ==> //        block   2 : ordering C
    ==>
    def S30=defrings(30); S30;
    ==> // coefficients: ZZ/32003
    ==> // number of vars : 30
    ==> //        block   1 : ordering ds
    ==> //                  : names    x(1) x(2) x(3) x(4) x(5) x(6) x(7) x(8) x(\
       9) x(10) x(11) x(12) x(13) x(14) x(15) x(16) x(17) x(18) x(19) x(20) x(21\
       ) x(22) x(23) x(24) x(25) x(26) x(27) x(28) x(29) x(30)
    ==> //        block   2 : ordering C
    kill S5,S30;

User manual for Singular version 4.3.2, 2023, generated by texi2html.