Top
Back: 5.1.81 nameof
Forward: 5.1.83 ncols
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.82 names

Syntax:

names ( )
names ( ring_name )

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.

Example:
 
  int i=9;
  ring r;
  poly f;
  poly g;
  setring r;
  names();
→ [1]:
→    r
→ [2]:
→    i
→ [3]:
→    fprintf
→ [4]:
→    printf
→ [5]:
→    sprintf
→ [6]:
→    intersect1
→ [7]:
→    quotient4
→ [8]:
→    quotient5
→ [9]:
→    quotient3
→ [10]:
→    quotient2
→ [11]:
→    quotient1
→ [12]:
→    quotient0
→ [13]:
→    quot1
→ [14]:
→    quot
→ [15]:
→    res
→ [16]:
→    groebner
→ [17]:
→    stdhilb
→ [18]:
→    stdfglm
→ [19]:
→    LIB
  names(r);
→ [1]:
→    g
→ [2]:
→    f

See nameof; reservedName.


Top Back: 5.1.81 nameof Forward: 5.1.83 ncols FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.