Top
Back: nameof
Forward: ncols
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: 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: nameof Forward: ncols FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.