Top
Back: 4.8.2 map expressions
Forward: 4.9 matrix
FastBack: 4. Data types
FastForward: 5. Functions and system variables
Up: 4.8 map
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

4.8.3 map operations

( )

composition of maps. If, for example, f and g are maps, then f(g) is a map expression giving the composition of f and g.

map_expression [ int_expressions ]

is a map entry (the image of the corresponding variable)


Example:

 
  ring r=0,(x,y),dp;
  map f=r,y,x;    // the map f permutes the variables
  f;
→ f[1]=y
→ f[2]=x
  poly p=x+2y3;
  f(p);
→ 2x3+y
  map g=f(f);    // the map g defined as  f^2 is the identity
  g;
→ g[1]=x
→ g[2]=y
  g(p) == p;
→ 1

Top Back: 4.8.2 map expressions Forward: 4.9 matrix FastBack: 4. Data types FastForward: 5. Functions and system variables Up: 4.8 map 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.