-- -*- M2-comint -*- hash: 1645593390971727210

i1 : R = CC[x]

o1 = R

o1 : PolynomialRing

i2 : pts = {point{{0}},point{{1}},point{{2}}, point{{3}}, point{{4}}}

o2 = {{0}, {1}, {2}, {3}, {4}}

o2 : List

i3 : vals = {-1, 1/2, 1, 5/4, 7/5}

          1     5  7
o3 = {-1, -, 1, -, -}
          2     4  5

o3 : List

i4 : rationalInterpolation(pts, vals, R)
-- warning: experimental computation over inexact field begun
--          results not reliable (one warning given per session)

o4 = (2x - 1, 1x + 1)

o4 : Sequence

i5 : 
