8

Most of my code is in Java. For standardized algorithms: matrix operations, FFT, ... I would prefer to not use my own pure Java implementations, and are perfectly happy using unsafe FFI/JNI calls.

What are the libraries I should look into?

Thanks!

Jonik
  • 80,077
  • 70
  • 264
  • 372
anon
  • 41,035
  • 53
  • 197
  • 293
  • 2
    Why do you moderators close these questions? This was useful. – Peter Feb 19 '16 at 11:18
  • Ok, I know why, but you shouldn't close them, because the answers can be useful to people. Just seeing which answer has the most upvotes is a good indicator of what is the most standard library. – Peter Feb 19 '16 at 11:19

5 Answers5

9

Apache commons-math

Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
8

CERN's colt library

Colt provides a set of Open Source Libraries for High Performance Scientific and Technical Computing in Java.

Andreas Dolk
  • 113,398
  • 19
  • 180
  • 268
  • 5
    it is worth noting to note that colt library is currently in the process of being integrated (at least a part of it) in commons-math – Valentin Rocher Jan 12 '10 at 09:39
1

For Specialised numerics computation look at the General Numerics section of NIST

Narayan
  • 6,031
  • 3
  • 41
  • 45
1

JAMA is a matrix library in Java. It is very easy to use.

Also, Colt has a parallel version.

Yin Zhu
  • 16,980
  • 13
  • 75
  • 117
0

SuanShu is a Java numerical and statistical library. It supports also parallel computing.

Community
  • 1
  • 1
Ryu
  • 56
  • 1