示例#1
0
文件: gamma.go 项目: postfix/gsl-1
func Pochrel(a float64, x float64) float64 {
	return float64(C.gsl_sf_pochrel(C.double(a), C.double(x)))
}
示例#2
0
文件: gamma.go 项目: mingzhi/gsl-cgo
/* Relative Pochhammer (Apell) symbol
 *   ((a,x) - 1)/x
 *   where (a,x) = (a)_x := Gamma[a + x]/Gamma[a]
 *
 */
func PochRel(a, x float64) (r float64) {
	r = float64(C.gsl_sf_pochrel(C.double(a), C.double(x)))
	return
}