Happy to help :)

On Thursday, May 28, 2015 at 9:40:22 PM UTC+5:30, Srinivasan Rajaraman 
wrote:
>
> Thanks!  That worked.  I just didn't know which procedure it was to 
> extract the expression.
>
> On Wednesday, May 27, 2015 at 5:50:40 PM UTC-5, Srinivasan Rajaraman wrote:
>>
>> I am trying to create a polynomial expression  through the following 
>> commands:
>>
>> from sympy import *
>>
>> x = symbols('x')
>>
>> P1 = sympy.poly(sympy.symbols('b0:3'), x)
>>
>> >>> P1
>> Poly(b0*x**2 + b1*x + b2, x, domain='ZZ[b0,b1,b2]')
>>
>> How do I extract the expression from the polynomial object?
>>
>> In the previous version Sympy 0.6.7, there used to be an attribute for 
>> the 'Poly' class, 'as_basic().'
>>
>> However, this attribute does not exist for the Poly class anymore.  Could 
>> somebody help me in extracting the polynomial expression from the Poly 
>> object?
>>
>>
>> Srini
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/6a8db1b7-ca89-43e8-9908-9c7378de9376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to