I personally think the API should be that we provide the force list at object creation. I'm not a fan of the .kanes_equations() api.
Jason moorepants.info +01 530-601-9791 On Sun, Apr 17, 2016 at 5:23 AM, Aravind <[email protected]> wrote: > Hello, > > both the classes KanesMethod and LagrangesMethod uses forcelist attribute. > Right now for LagrangesMethod, we are providing forcelist at the time of > object creation(optional though) where as for KanesMethod it is done when > we call kanes_equations() method. Actually for KanesMethod also we can > provide forcelist and bodylist at the time of instance creation. This helps > in having a property forcelist() in the abstract class. I have written an > exclusive small code for this. Please review this > <https://github.com/aravindkanna/open-source/blob/master/a.py> and > provide your inputs. > > regards, > Aravind > > -- > 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 https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/927bacad-e2a6-416d-846a-9f0b406fd113%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/927bacad-e2a6-416d-846a-9f0b406fd113%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1AgLQq5KxRwupCNzPJvJ2Rm0Rf4Pmp9YC4j0G6_Fmhn%3D9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
