I think that if people would find it useful, then it would be worth having. There is a typo in the doctest (you are importing euler, not catalan).
Also, perhaps you should add an _eval_rewrite_binomial method to make it easy to convert it to a binomial. Aaron Meurer On Thu, Sep 22, 2011 at 8:33 PM, Srinivas Vasudevan <[email protected]> wrote: > I was implementing Catalan Numbers in numbers.py, and just wanted to see if > anyone thought this was a good idea to implement, considering Catalan > Numbers can be easily computed through binomial coefficients (though it can > come up a lot in combinatorics). I have attached a patch. > > -- Srinivas > > -- > 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.
