Tetration Forum
Cheta with base-change: preliminary results - Printable Version

+- Tetration Forum (https://math.eretrandre.org/tetrationforum)
+-- Forum: Tetration and Related Topics (https://math.eretrandre.org/tetrationforum/forumdisplay.php?fid=1)
+--- Forum: Computation (https://math.eretrandre.org/tetrationforum/forumdisplay.php?fid=8)
+--- Thread: Cheta with base-change: preliminary results (/showthread.php?tid=324)

Pages: 1 2 3

RE: Cheta with base-change: preliminary results - jaydfox - 08/12/2009

(08/12/2009, 06:40 PM)bo198214 Wrote: I also just see that there is a function lagrange_polynomial in sage
# using the definition of Lagrange interpolation polynomial
sage: R = PolynomialRing(QQ, 'x')
sage: R.lagrange_polynomial([(0,1),(2,2),(3,-2),(-4,9)])

I mean this should be super easy now. Just plug in your argument-value-pairs and you have the interpolating polynomial (no matrix fuzz).
Then you can apply this interpolating polynomial to non-real values.
Or extract the coefficients as you like.
However I didnt check how long it takes Smile
Well that takes all the fun out of it, now doesn't it? Tongue

But seriously, I'll try both approaches and see which is faster.