Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-17 Thread sympy
Status: New Owner: Labels: Type-Enhancement Priority-Low New issue 4133 by greg.von...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 The numpy library polynomial contains modules for Legendre, Chebyshev, Jacobi, L

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-17 Thread sympy
Updates: Status: Valid Cc: raou...@gmail.com Comment #1 on issue 4133 by asmeu...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 These are already implemented. See legendre, chebyshevt, chebyshevu, jacob

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-17 Thread sympy
Comment #3 on issue 4133 by gre...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Maybe this is a different issue, but it seems like it would be good to keep the representation as a known orthogonal polynomial (which ar

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-17 Thread sympy
Comment #2 on issue 4133 by gre...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 I can't imagine how I missed it, sorry! Is it possible to have something like chebyshevt(2,x)**2 return chebyshevt(4,x)/2+chebyshevt(0,x)/

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-17 Thread sympy
Comment #4 on issue 4133 by asmeu...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 horner is not used, unless you call it yourself. What we need to do is implement chebyshev and so on in lambdify, so that they are con

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Comment #5 on issue 4133 by raou...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Hi, I plan to do much more work on orthogonal polynomials but it will take some (longer) time. First I need to extend the symbolic summat

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Updates: Cc: ppue...@googlemail.com Comment #6 on issue 4133 by asmeu...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Greg, if you want to take a shot at implementing some of these things yourself, go for it.

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Comment #7 on issue 4133 by raou...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Hi, Right. I did this for spherical harmonics. In principle we need to cut out all code in the "eval" method and put a clean up version

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Comment #8 on issue 4133 by gre...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 I would be happy to contribute in any way I can, although my Python development acumen is pretty weak compared to anyone else here. I d

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Comment #9 on issue 4133 by asmeu...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 The _poly versions do not support symbolic degree. They just explicitly create the polynomial. Ideally, the non-poly versions would n

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-18 Thread sympy
Comment #10 on issue 4133 by gre...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 If I wanted to start experimenting with modifications to this file https://github.com/sympy/sympy/blob/master/sympy/functions/special/pol

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-19 Thread sympy
Comment #11 on issue 4133 by raou...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Try to make f.e. the Hermite polynomial non-autoevaluating for any (numeric as well as symbolic) n and x. I described what you need to d

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-20 Thread sympy
Comment #12 on issue 4133 by gre...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Ok. I have started work on this. The current eval in the default case is getting a pass instead of the poly eval. I will add a new metho

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-20 Thread sympy
Comment #13 on issue 4133 by asmeu...@gmail.com: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 See https://github.com/sympy/sympy/wiki/development-workflow -- You received this message because this project is configured to send al

Re: Issue 4133 in sympy: Suggestion: implement classical orthogonal polynomials

2013-12-21 Thread sympy
Comment #14 on issue 4133 by someb...@bluewin.ch: Suggestion: implement classical orthogonal polynomials http://code.google.com/p/sympy/issues/detail?id=4133 Ok. I have started work on this. The current eval in the default case is getting a pass instead of the poly eval. I will add a new met