http://docs.sympy.org/latest/modules/functions/combinatorial.html#risingfactorial

I executed the examples in SymPy-Live but got different
outputs from what the docs say. For example for 

>>> rf(x, k).rewrite(ff)
gives  nothing  instead of: FallingFactorial(k + x - 1, k)

>>> rf(x, k).rewrite(binomial)
gives  (x)^(k)  instead of: binomial(k + x - 1, k)*factorial(k)

>>> rf(n, k).rewrite(factorial)
gives  (n)^(k)  instead of: factorial(k + n - 1)/factorial(n - 1)

Also for rf(x**3, 2) the output is different, not
Poly(x**6 + 3*x**5 + 3*x**4 + x**3, x, domain='ZZ')

Peter

-- 
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/d806b47b-6d46-4f44-ab9d-234ead67a02f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to