|
5.1.97 names
Syntax:
names ( )
names ( ring_name )
names ( package_name )
names ( level )
Type:
- list of strings
Purpose:
- returns the names of all user-defined variables which are ring independent
(this includes the names of procedures) or, in the second case, which
belong to the given ring.
The third case restricts the variables to the given level.
package_name can be Current , Top or any other
identifier of type package.
Example:
| int i=9;
ring r;
poly f;
package p;
int p::j;
poly g;
setring r;
list l=names();
l[1..3];
==> l p r
names(r);
==> [1]:
==> g
==> [2]:
==> f
names(p);
==> [1]:
==> j
names(0);
==> [1]:
==> l
==> [2]:
==> p
==> [3]:
==> r
==> [4]:
==> i
==> [5]:
==> min
==> [6]:
==> max
==> [7]:
==> datetime
==> [8]:
==> weightKB
==> [9]:
==> fprintf
==> [10]:
==> printf
==> [11]:
==> sprintf
==> [12]:
==> quotient4
==> [13]:
==> quotient5
==> [14]:
==> quotient3
==> [15]:
==> quotient2
==> [16]:
==> quotient1
==> [17]:
==> quot
==> [18]:
==> res
==> [19]:
==> groebner
==> [20]:
==> qslimgb
==> [21]:
==> hilbRing
==> [22]:
==> par2varRing
==> [23]:
==> quotientList
==> [24]:
==> stdhilb
==> [25]:
==> stdfglm
==> [26]:
==> Standard
==> [27]:
==> Top
|
See
nameof;
reservedName.
|