On Aug 24, 10:03 am, kcrisman <[email protected]> wrote: > Dear sage-devel, > > I have two things I just want confirmation of before I file tickets - > such as an alternate way/workaround to do these things which I have > missed. Thanks for any replies. > > - kcrisman > > 1. There is no way to get a symbolic interpolated polynomial de novo > without going through polynomial rings, e.g. all these steps: > > pts = [(1,2),(2,3),(3,2),(4,3),(5,2),(6,3)] > R.<x>=QQ[] > f = R.lagrange_polynomial(pts) > SR(f) > > 2. If one has a non-symbolic polynomial currently, it won't plot with > the new plotting syntax. > > plot(f,0,5) # works, old-school Sage > plot(f,(x,0,5)) # doesn't work, new-school Sage > plot(f,x,0,5) # doesn't work, though sort of makes sense it shouldn't > since x isn't a symbolic variable now... ? > > If there was a direct interpolated polynomial for SR I wouldn't have > noticed the second one.
I forgot to also ask if these are currently open tickets, and found another one. 3. pts = [(1,2)] R.<x>=QQ[] f = R.lagrange_polynomial(pts) f.plot(0,7) <boom because integers have no .plot() method> -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
