[sympy] Finding out if an expression is algebraic

2013-06-11 Thread Manoj Kumar
I was working out the second heuristic of the Maple paper along with Sean, and the PR can be found here -- https://github.com/sympy/sympy/pull/2156 Firstly, the thing is I need to extract factors (according to the Maple Paper) a} that are algebraic b} and are either a function of

Re: [sympy] Finding out if an expression is algebraic

2013-06-11 Thread Aaron Meurer
What do you mean by algebraic? There is is_polynomial or is_rational_function. Aaron Meurer On Tue, Jun 11, 2013 at 12:54 PM, Manoj Kumar manojkumarsivaraj...@gmail.com wrote: I was working out the second heuristic of the Maple paper along with Sean, and the PR can be found here --

Re: [sympy] Finding out if an expression is algebraic

2013-06-11 Thread Manoj Kumar
On Wed, Jun 12, 2013 at 12:33 AM, Aaron Meurer asmeu...@gmail.com wrote: What do you mean by algebraic? There is is_polynomial or is_rational_function. I was referring to this, http://en.wikipedia.org/wiki/Algebraic_expression, is_Polynomial wouldn't work if I want to identify cases like

Re: [sympy] Finding out if an expression is algebraic

2013-06-11 Thread Aaron Meurer
is_rational_function could easily be extended to handle such cases (one just needs to allow rational instead of integer exponents). Aaron Meurer On Tue, Jun 11, 2013 at 10:48 PM, Manoj Kumar manojkumarsivaraj...@gmail.com wrote: On Wed, Jun 12, 2013 at 12:33 AM, Aaron Meurer