Java中的复数集成 [英] Complex Number Integration in Java
本文介绍了Java中的复数集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个函数Func(x)
,该函数返回一个复数.
I have A function Func(x)
which returns a complex number.
我需要计算I/Func(E^(I*x))
的积分,其中x从Pi/3
到Pi/2
.
And I need to calculate Integral of I/Func(E^(I*x))
where x is from Pi/3
to Pi/2
.
我如何在Java
中做到这一点?
How can i do that in Java
?
推荐答案
Apache Commons库为处理复数提供了很好的支持.看看- Apache Commons Complex
Apache Commons library provide a good support for handling complex numbers. Have a look at - Apache commons complex
这篇关于Java中的复数集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文