gfanSubstitute(M,R)
gfanSusbtitute(L,R)
gfanSubstitute(I,R)
This method replaces each variable in a marked polynomial list with variables from a different ring.
|
|
|
|
Caution should be used as this method invokes use R which changes the global symbol table. It would be preferable to use the map command which is built into Macaulay 2. A ring map can be applied directly to a marked polynomial list.
|
|
gfan Documentation
This program changes the variable names of a polynomial ring. The input is a polynomial ring, a polynomial set in the ring and a new polynomial ring with the same coefficient field but different variable names. The output is the polynomial set written with the variable names of the second polynomial ring.
Example:
Input:
Q[a,b,c,d]{2a-3b,c+d}Q[b,a,c,x]
Output:
Q[b,a,c,x]{2*b-3*a,c+x}
Options:
The object gfanSubstitute is a method function with options.