Java / Scala math library with elliptic integrals and bessel functions?

為{幸葍}努か 提交于 2019-12-06 05:29:05

问题


I am looking for a math library for scientific computing to use in Java / Scala. Especially I need complete elliptic integrals und modified Bessel functions. I would be nice if it is open source, but I guess I will have to take whatever is out there. A scipy (python lib for scientific computing) replacment would be great :-)


回答1:


As far as I'm aware, the most widely used Java math libraries are:

  • The Apache Commons Math library, and
  • The Colt project (developed by CERN)

You'll have to investigate their respective APIs though to determine if they provide exactly the functionality you require.




回答2:


I know that the GNU Scientific Library contains both elliptic integrals and Bessel functions of many kinds. Unfortunately, good mathematics libraries are hard to come by; your best bet may be to wrap the GSL using JNI (or JNA if you can get it to work).

If you really must have pure Java/Scala functions, I guess you could translate the portions of the library you need. It would be a lot of work, but it is GPLed code at least.



来源:https://stackoverflow.com/questions/4764989/java-scala-math-library-with-elliptic-integrals-and-bessel-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!