Exemplo n.º 1
0
func Gamma(x float64) float64 {
	return float64(C.gsl_sf_gamma(C.double(x)))
}
Exemplo n.º 2
0
/* Gamma(x), x not a negative integer
 * Uses real Lanczos method.
 */
func Gamma(x float64) (r float64) {
	r = float64(C.gsl_sf_gamma(C.double(x)))
	return
}