计算为。 >>>f =lambday, x, a: a*x*y>>>integrate.dblquad(f,0,1,lambdax: x,lambdax:2-x, args=(1,)) (0.33333333333333337,5.551115123125783e-15)>>>integrate.dblquad(f,0,1,lambdax: x,lambdax:2-x, args=(3,)) (0.9999999999999999,1.6653345369377348e-14) 计算二维高斯积分,它是高斯函数...
scipy.integrate.dblquad(func, a, b, gfun, hfun, args=(), epsabs=1.49e-08, epsrel=1.49e-08) ParametersBelow are the parameters of the dblquad() function in scipy.integrate module −func: The function to be integrated. It will take two arguments (x, y). a: The lower limit of ...