next up previous contents
Next: imap result ring map: Up: Commands for defining and Previous: Commands for defining and

rmap tex2html_wrap_inline5387 result f tex2html_wrap_inline5389 tex2html_wrap_inline5387 ring R tex2html_wrap_inline5389 tex2html_wrap_inline5387 ring S tex2html_wrap_inline5389

Interactively define a map of rings tex2html_wrap_inline7577 . A map of rings from R to S is simply a 1 by n matrix with base ring S, where n is the number of variables of R. The tex2html_wrap_inline5501 variable of R is mapped to the polynomial which is the tex2html_wrap_inline5501 column of this matrix. The command ev is used to evaluate a ring map on a matrix.

For example,

%  rmap f R S
! a ---> ?  x5
! b ---> ?  x4y+x3z2
! c ---> ?  y5
! d ---> ?  z5+y3x2

%  type f
; x5 x4y+x3z2 y5 x2y3+z5 

%  pmap f R
; map : R ---> S
; a |--> x5
; b |--> x4y+x3z2
; c |--> y5
; d |--> x2y3+z5

Notice that pmap displays the ring map as a map. The result f is a 1 by 4 matrix over the ring S. The main utility of the rmap command is that you are prompted for the value of each variable. Thus, you don't need to remember the order of the variables of R.



Sorin Popescu
Fri Feb 14 17:37:19 EST 1997