There's also the S() function, which is basically a shortcut to sympify().
Aaron Meurer On Dec 6, 2010, at 7:03 AM, Filip Dominec wrote: > This issue makes me to think about renaming the simpify function to > something more different from simplify. Possible candidates could be > parse_expression, str2sympy, str2expr etc. > > The similarity between "simpify" and "simplify" is misleading. > > > On 6 pro, 12:45, prem kiran <[email protected]> wrote: >> ya go it.THANKS >> >> >> >> >> >> On Mon, Dec 6, 2010 at 4:56 PM, prem kiran <[email protected]> wrote: >>> where can i find the module which has this function simpify. >> >>> On Mon, Dec 6, 2010 at 3:43 PM, Abderrahim Kitouni >>> <[email protected]>wrote: >> >>>> Hello, >>>> في ن، 06-12-2010 عند 00:32 -0800 ، كتب premkiran: >>>>> Is there a way to convert string expression to Numeric expression so >>>>> that that can be put into simplify method.As otherwise ,the error is >>>>> if expr.is_Pow: >>>>> AttributeError: 'str' object has no attribute 'is_Pow' >>>> Ondrej gave you the answer without realizing : sympify :-) >> >>>> You need to use sympify to convert the string into a sympy expression, >>>> and then pass that to whatever function you want (e.g. simplify) >> >>>> HTH, >>>> Abderrahim >> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "sympy" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected] <sympy%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/sympy?hl=en. >> >>> -- >>> PREM KIRAN >>> 2nd YEAR >>> DEPARTMENT OF MECHANICAL ENGINEERING >>> IIT MADRAS >>> CHENNAI >> >> -- >> PREM KIRAN >> 2nd YEAR >> DEPARTMENT OF MECHANICAL ENGINEERING >> IIT MADRAS >> CHENNAI > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
