The first argument to quad is a “callable” Python object (i.e., ... from scipy.integrate import quad >>> def integrand(x, a, b): ... return a*x**2 + b .
確定! 回上一頁