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