Top
Back: inidata
Forward: data
FastBack: primdecint_lib
FastForward: resjung_lib
Up: resbin_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.8.7 identifyvar

Procedure from library resbin.lib (see resbin_lib).

Usage:
identifyvar();

Compute:
Asign 0 to variables x and 1 to variables y, only necessary at the beginning

Return:
list, say l, of size the dimension of the basering
l[i] is: 0 if the i-th variable is x(i),
1 if the i-th variable is y(i)

Example:
 
LIB "resbin.lib";
ring r = 0,(x(1),y(2),x(3),y(4),x(5..7),y(8)),dp;
identifyvar();
==> [1]:
==>    0
==> [2]:
==>    1
==> [3]:
==>    0
==> [4]:
==>    1
==> [5]:
==>    0
==> [6]:
==>    0
==> [7]:
==>    0
==> [8]:
==>    1


Top Back: inidata Forward: data FastBack: primdecint_lib FastForward: resjung_lib Up: resbin_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.