Synopsis:
i1 : R = ZZ[x,y];
i2 : S = ZZ[a,b,c];
i3 : f = map(R,S,{x^2,x*y,y^2}) 2 2 o3 = map(R,S,{x , x*y, y }) o3 : RingMap R <--- S
i4 : f(a+b+c^2) 4 2 o4 = y + x + x*y o4 : R
See also:
Code:
-- ../m2/ringmap.m2:74 map(Ring,Ring,List) := RingMap => options -> (R,S,m) -> map(R,S,matrix(R,{m}),options)