I'm writing a new version of orthogonal polynomials, because they are only wrappers arround maxima. Now I'm using the BuiltinFunction class for these guys for better symbolic support, and faster evaluation methods. (Trac 9706)
But some tests fail. See here: sage: y = PolynomialRing(QQ, 'y').gen() sage: hermite(3,y) 8*y^3 - 12*y sage: y = PolynomialRing(RR, 'y').gen() sage: hermite(3,y) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/maldun/sage/sage-4.5.1/devel/sage-ortho/sage/functions/<ipython console> in <module>() /home/maldun/sage/sage-4.5.1/local/lib/python2.6/site-packages/sage/ symbolic/function.so in sage.symbolic.function.Function.__call__ (sage/ symbolic/function.cpp:4336)() TypeError: cannot coerce arguments: __call__() takes exactly 1 positional argument (0 given) sage: y = PolynomialRing(CC, 'y').gen() sage: hermite(3,y) 8*y^3 - 12*y sage: y = PolynomialRing(ZZ, 'y').gen() sage: hermite(3,y) 8*y^3 - 12*y the same for the sine: sage: sin(y) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/maldun/sage/sage-4.5.1/devel/sage-ortho/sage/functions/<ipython console> in <module>() /home/maldun/sage/sage-4.5.1/local/lib/python2.6/site-packages/sage/ symbolic/function.so in sage.symbolic.function.GinacFunction.__call__ (sage/symbolic/function.cpp:6572)() /home/maldun/sage/sage-4.5.1/local/lib/python2.6/site-packages/sage/ symbolic/function.so in sage.symbolic.function.Function.__call__ (sage/ symbolic/function.cpp:4336)() TypeError: cannot coerce arguments: __call__() takes exactly 1 positional argument (0 given) sage: --------------------------------------------- It seems that the _call_ method has here some problems with the polynomial ring over R! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org