I'm trying to port some Python code to Scala. It makes heavy use of Numpy and Scipy. While I've found a number of dense matrix / linear algebra libraries that will do as an adequate (but not superb) replacement for NumPy, I've not really found anything that provides the functionality I use in SciPy. In particular, I'm looking for a libraries that support sparse partial eigendecompositions (like SciPy's wrapping of arpack), and then libraries for some simple things that SciPy provides (e.g. histograms).
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There have been a few similar questions already on this topic:
- Java/Scala library for algebra, mathematics
- Java / Scala math library with elliptic integrals and bessel functions?
- Clojure or Scala for bioinformatics/biostatistics/medical research
Also, http://code.google.com/p/scalalab/ looks interesting.
回答2:
Blatant opportunism: I'm the author of numsca, the numpy for scala. Obviously the best in town.
Numsca lives here: https://github.com/botkop/numsca
Feedback appreciated.
Thank you.