4

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 :-)

adrianboimvaser
  • 2,651
  • 1
  • 22
  • 30
Radfahrer
  • 41
  • 1
  • 2

2 Answers2

3

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

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

npad
  • 5,036
  • 4
  • 24
  • 22
1

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.

Rex Kerr
  • 166,841
  • 26
  • 322
  • 407