next up previous contents
Next: pmap ideal f [source Up: Commands for defining and Previous: ev ideal f matrix

fetch tex2html_wrap_inline5387 matrix M tex2html_wrap_inline5389 tex2html_wrap_inline5387 result matrix N tex2html_wrap_inline5389 [1]

Create a new matrix, N over the current ring which is essentially the matrix M: each variable in the base ring of M which also occurs in the current ring is left unchanged, and each variable which doesn't occur is set to zero by default (or one, if the optional third argument is given).

This command is useful for changing monomial orders, inclusion of one ring in another, or projection of one ring to another.

The following example ``fetch''s the matrix m from the ring R to the ring S.

%  type m     ; the base ring of m is R.
; a   a2    
; b+c ab+d2 

%  ; make sure the current ring is S, which has vars a,b,c
%  setring S  

%  fetch m n

%  type n     ; the variable "d" is set to 0.
; a   a2 
; b+c ab



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