# Revision history [back]

I do not really know what your intension is, but if you define your lp as a function call, then everything works fine for me:

show(maxima.assoc_legendre_p(2,0,x))
show(maxima.assoc_legendre_p(2,0,3))


and

def k(l,m,n):
return maxima.assoc_legendre_p(l,m,n)
show(k(2,0,x))
show(k(2,0,3))


produces the same aoutput for me. Maybe this already helps you?

Honestly I didn't really understand the problem with your call. Probably maxima returns other object types when you enter symbolic expressions and it is not possible anymore to evaluate this expression. Maybe somebody else can explain us the problem...