ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 11 Oct 2012 18:52:12 -0500How to use associated legendre polynomials in sage?http://ask.sagemath.org/question/9414/how-to-use-associated-legendre-polynomials-in-sage/Hey, I'm trying to make a symbolic expression (function) that depends on associated lengendre polynomials. For this I'm using the maxima module/interface. When I do something like
maxima.assoc_legendre_p(2,0,x)
I get the correct output. But when I try something like the following
lp(l,m,x) = maxima.assoc_legendre_p(l,m,x)
and then `lp(2,0,3)` all I get is "assoc_legendre_p(2, 0, 3)". So it's not understanding the "assoc_legendre_p" part, it takes it as many symbols. How could I achieve this? Thanks.
PS: The actual expression is more complicated than that, but to makes thing simple I used a basic example.
ijpulidosThu, 11 Oct 2012 18:52:12 -0500http://ask.sagemath.org/question/9414/