scipy 可以计算具有复值被积函数(被积函数中的实部和虚部)的(双)积分吗?
(由于我是新用户,无法上传显示积分的图片。)
(Couldn't upload the picture showing the integral as I'm a new user.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
(由于我是新用户,无法上传显示积分的图片。)
(Couldn't upload the picture showing the integral as I'm a new user.)
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
谢谢达菲莫!
我正在计算惠更斯-菲涅耳衍射积分:极坐标中通过圆形(2D)孔径的平面和其他波衍射。
就编程而言:目前我的很多代码都在 Mathematica 中。我正在考虑更改为以下之一:scipy、java + flanagan 数学库、java + apache commons 数学库、gnu 科学库或八度。
我的第一个评估候选者是 scipy,但如果它不能处理复值被积函数,那么我必须改变周末的计划......
Thanks duffymo!
I am calculating Huygens-Fresnel diffraction integrals: plane and other wave diffraction through circular (2D) apertures in polar coordinates.
As far as the programming goes: Currently a lot of my code is in Mathematica. I am considering changing to one of: scipy, java + flanagan math library, java + apache commons math library, gnu scientific library, or octave.
My first candidate for evaluation is scipy, but if it cannot handle complex-valued integrands, then I have to change my plans for the weekend...
是的。这些积分(我假设它们是二维空间中某个区域的面积积分)可以使用适当的求积规则来计算。
您还可以使用格林定理将它们转换为轮廓积分并使用高斯求积沿路径进行积分。
Yes. Those integrals (I'll assume they're area integrals over a region in 2D space) can be calculated using an appropriate quadrature rule.
You can also use Green's theorem to convert them into contour integrals and use Gaussian quadrature to integrate along the path.