out = sgamma(a,b)
Function to calculate the ratio of gamma functions as defined in Sasiella's book. $Gamma(a,b) = Gamma(a1)*Gamma(a2)*...*Gamma(ap)/ (Gamma(b1)*Gamma(b2)*...*Gamma(bq))$ where a and b are vectors of length p and q respectively.
Parameters 
Description 
a [vector] 
Vector of numerator gamma function arguments 
b [vector] 
Vector of denominator gamma function arguments 
Return Values 
Description 
out [scalar] 
Resulting ratio of products of gamma functions 
Copyright (c) 2009. All rights reserved.

What do you think about this topic? Send feedback!
