Status: Accepted Owner: skr...@gmail.com Labels: Type-Defect Priority-Medium
New issue 2394 by skr...@gmail.com: Inconsistent Binomial behavior http://code.google.com/p/sympy/issues/detail?id=2394 These commands were executed:
from __future__ import division from sympy import * x, y, z, t = symbols('x y z t') k, m, n = symbols('k m n', integer=True) f, g, h = symbols('f g h', cls=Function)
Documentation can be found at http://www.sympy.org In [1]: Binomial(x,x) Out[1]: 1 In [2]: Binomial(n,n) Out[2]: Binomial(n, n) Expected 1 In [3]: Binomial(x,x-1) Out[3]: Γ(1 + x) ──────── Γ(x) Expected x since Binomial(x,1) return x, related to issue 2348 In [4]: Binomial(n,n-1) Out[4]: Binomial(n, -1 + n) Expected n -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.