Java/Scala library for algebra, mathematics [closed]

蹲街弑〆低调 提交于 2019-11-29 20:42:44

The functionality in Scipy is rather Matlab-like. So the question is whether you just want the core linear algebra / vector-matrix mathematics operations, or all sorts of things like clustering.

If you are not aware of both Scalala (now called Breeze) and ScalaLab, you should check them out--maybe they'll suit your needs.

If you need a more diverse library, there are a couple of Java libraries that might be suitable: CERN Colt and Apache Commons Math; these are intended to be used in Java style, however, and you're pretty much limited to using them that way from within Scala. (Though of course you can wrap the bits that you use particularly heavily in something prettier.)

oxbow_lakes

There are scalala (scala linear algebra library) and ScalaLab (more like a Matlab scala-environment)

There is a la4j (Linear Algebra for Java) library that can be used from Scala environment but it doesn't contain any Scala features like hi-order functions since Java doesn't support it. la4j was designed to be used in imperative environment (not functional). So if you want to use it in functional way - Scalala is the best chose.

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