[SciPy-user] symbolic math & scipy (& maxima)...
wdj at usna.edu
Mon Aug 7 08:55:20 CDT 2006
Have you looked into SAGE (sage.scipy.org)? SAGE is written
in Python but includes maxima and has some special functions
(wrapped from maxima and pari). I'm not excatly sure what your
question is, but SAGE might help do what you want.
fredantispam at free.fr wrote:
> I need to find out the (first) derivative of associated Legendre polynomials
> defined in lpmn(m,n,x).
> The problem is that I want to derive vs theta where x=cos(theta).
> For instance, for m=1 & n=0,
> P_0^1(cos(theta)) = cos(theta) -> P_0^1'(cos(theta)) = -sin(theta)
> I know that scipy has not symbolic math module (and pythonica seems
> to be quite old & unmaintained).
> But I use maxima.
> So I wonder if it would be possible to run maxima, derive
> assoc_legendre_p(n,m,cos(theta)) vs. theta and "send" the result to python.
> How could I do that ?
> SciPy-user mailing list
> SciPy-user at scipy.org
More information about the SciPy-user