Re: [sympy] Subclassing sympy symbols and functions to attach additional attributes

2016-02-05 Thread Aaron S. Meurer
In that case, it would be better to model your object after Predicate and AppliedPredicate, which work the same way (except in Boolean expressions). Aaron Meurer > On Feb 5, 2016, at 5:37 PM, Bogdan Opanchuk wrote: > > Hi Aaron, > > Thank you for your reply. > >> If you want to give the fiel

Re: [sympy] Subclassing sympy symbols and functions to attach additional attributes

2016-02-05 Thread Bogdan Opanchuk
Hi Aaron, Thank you for your reply. If you want to give the fields names I guess you should use > UndefinedFunction. Note that UndefinedFunction('f') dynamically creates a > subclass of AppliedUndef called "f". > The problem is that I need this object to participate in expressions even witho

Re: [sympy] Subclassing sympy symbols and functions to attach additional attributes

2016-02-05 Thread Aaron Meurer
If you want to give the fields names I guess you should use UndefinedFunction. Note that UndefinedFunction('f') dynamically creates a subclass of AppliedUndef called "f". I think what you are doing is right, although let us know if you run into issues (SymPy has many bugs where things don't work c

Re: [sympy] Gsoc 2016 Series Expansions

2016-02-05 Thread shubham tibra
Thanks! I will look into them. On Friday, February 5, 2016 at 6:32:27 PM UTC+5:30, Sartaj Singh wrote: > > Hi Shubham, > > Last year I implemented Formal Power Series and limits of sequences. The > algorithm described in the paper is almost done. You can see the XFAILED > tests in seriestests/te

Re: [sympy] Gsoc 2016 Series Expansions

2016-02-05 Thread Sartaj Singh
Hi Shubham, Last year I implemented Formal Power Series and limits of sequences. The algorithm described in the paper is almost done. You can see the XFAILED tests in seriestests/test_formal.py and series/tests/test_limitseq.py, they can probably be made to pass. On 5 February 2016 at 12:56, shub