ratexpand + pochhammer



Hello Barton,

-----Urspr?ngliche Nachricht-----
Von: willisb at unk.edu [mailto:willisb at unk.edu] 

>>I?have?used?pochhammer?a?lot?to?expand?special?functions?for?special
>>values?and?in?the?integration?routines?for?the?power?functions.
>>
>>All?this?code?assumes?that?pochhammer?expands?automatically.?One?problem
>>is?indeed?that?there?is?no?upper?limit?for?a?useful?integer.?By?the?way
>>that?is?a?problem?with?the?functions?$sum?and?$product?too.

>Does this code need things like pochhammer(a,2) --> a (a + 1) or
>do you need expressions to be fully expanded: pochhammer(a,2) --> a^2 + a?
>Does the code need to expand pochhammer(x,n) when x is both symbolic
>and numeric?

I have used pochhammer for symbolic and numerical x and I have used it to get

pochhammer(a,2) --> a (a+1)

I have used pochhammer a lot for negative n too:

Pochhammer(a,-2) --> 1/((1-a) (2-a))

But there is a small problem. A lot of calculations which involve more than one
pochhammer function with positive and negative n would simplify much better if

Pochhammer(a,-2) would give 1((a-2) (a-1))

To achieve this representation I have factored the result of pochhammer for
negative n in some calculations.

Dieter Kaiser