Workaround: list_plot([(x,legenp(2,0,x)) for x in srange(-1,1,0.1)],plotjoined=True) On 10 Kwi, 23:47, ObsessiveMathsFreak <obsessivemathsfr...@gmail.com> wrote: > The mpmath import seems to work, but I am unable to plot the resulting > functions. I get an error about too many values to unpack. > > from mpmath import * > > plot(lambda x: legenp(1,0,x),(x,-1,1)) > > Traceback (click to the left of this block for traceback) > ... > ValueError: too many values to unpack > > On Apr 10, 8:38 pm, achrzesz <achrz...@wp.pl> wrote: > > > Or simply legendre_P, legendre_Q > > Unfortunately, these functions do not support non integer values of n, > i.e. they don't support generalised legendre functions, which is what > I need.
-- 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