Top
Back: fetchall
Forward: mapall
FastBack: random_lib
FastForward: Linear algebra
Up: ring_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.8.9 imapall

Procedure from library ring.lib (see ring_lib).

Usage:
imapall(R[,s]); R=ring/qring, s=string

Create:
map all objects of ring R (of type poly/ideal/vector/module/number/matrix) into the basering by applying imap to all objects of R. If no 2nd argument is present, the names are the same as in R. If, say, f is a polynomial in R and the 3rd argument is the string "R", then f is mapped to f_R etc.

Return:
no return value

Note:
As imap, this procedure maps the variables of R to the variables with the same name in the basering, the other variables are mapped to 0. The 2nd argument is useful in order to avoid conflicts of names, the empty string is allowed

Caution:
imapall does not work for locally defined names.
It does not work if R contains a map

Example:
 
See also: fetchall.


Top Back: fetchall Forward: mapall FastBack: random_lib FastForward: Linear algebra Up: ring_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.