-- -*- M2-comint -*- hash: 1331080541627

i1 : 
             code QQ.InverseMethod

o1 = ../../m2/rationals.m2:45:19-45:27: --source code:
     QQ.InverseMethod = x -> 1/x

i2 :         code CC.InverseMethod

o2 = ../../m2/reals.m2:211:19-211:41: --source code:
     CC.InverseMethod = y -> conjugate y / y^2

i3 : 	R = QQ[x];

i4 : 	f = map(R, R, {2*x})

o4 = map (R, R, {2x})

o4 : RingMap R <-- R

i5 :         RingMap.InverseMethod f

                 1
o5 = map (R, R, {-x})
                 2

o5 : RingMap R <-- R

i6 :     
     
