Top
Back: monomialInIdeal
Forward: minIntRoot2
FastBack:
FastForward:
Up: dmodloc_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.5.14.0. vars2pars
Procedure from library dmodloc.lib (see dmodloc_lib).

Usage:
vars2pars(v); v intvec

Assume:
The basering is commutative.

Return:
ring with variables specified by v converted into parameters

Example:
 
LIB "dmodloc.lib";
ring r = 0,(x,y,z,a,b,c),dp;
intvec v = 4,5,6;
def R = vars2pars(v);
setring R;
R;
==> // coefficients: QQ(a, b, c)
==> // number of vars : 3
==> //        block   1 : ordering dp
==> //                  : names    x y z
==> //        block   2 : ordering C
v = 1,2;
def RR = vars2pars(v);
setring RR;
RR;
==> // coefficients: QQ(a, b, c, x, y)
==> // number of vars : 1
==> //        block   1 : ordering dp
==> //                  : names    z
==> //        block   2 : ordering C


Top Back: monomialInIdeal Forward: minIntRoot2 FastBack: FastForward: Up: dmodloc_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.