Пример #1
0
func Taylorcoeff(n int32, x float64) float64 {
	return float64(C.gsl_sf_taylorcoeff(C.int(n), C.double(x)))
}
Пример #2
0
/* x^n / n!
 *
 * x >= 0.0, n >= 0
 */
func TaylorCoeff(n int, x float64) (r float64) {
	r = float64(C.gsl_sf_taylorcoeff(C.int(n), C.double(x)))
	return r
}