Scala 数值库

发布于 2025-01-06 06:32:00 字数 330 浏览 0 评论 0原文

我正在寻找一个在 Scala(或 Java,尽管可以使用 scala 函数的东西会更好!)中进行数值计算的库,至少具有以下功能:

  • L-BFGS
  • Minimizers(Powell,QuasiNewton,...)
  • 多变量函数的数值微分
  • 数值积分(不是严格必需的,但非常首选)

我也只是在寻找积极维护的东西(最早在 2011 年进行最后一次更新),最好但不一定免费。 此外,还需要数值稳定性,即所有操作都应以给出一致结果的方式实现,并尽可能保持精度。

我已经知道 IMSL,但更喜欢其他的。

提前致谢

I'm looking for a library to do numerical computing in Scala (or Java, although something that can use scala functions would be way nicer!) with at least the following capabilities:

  • L-BFGS
  • Minimizers (Powell, QuasiNewton, ...)
  • Numerical differentiation of multivariable functions
  • Numerical integration (not strictly necessary but highly preferred)

I'm also only looking for something that's actively maintained (last update during 2011 at the earliest), preferably but not necessarily free.
Also, numerical stability is required, aka all operations should be implemented in a way that gives consistent results where precision is preserved as much as possible.

I'm already aware of IMSL, but would prefer something else.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

乱了心跳 2025-01-13 06:32:01

SuanShu 是一个用于数值分析的数值方法的 Java 数学库。

SuanShu is a Java math library of numerical methods for numerical analysis.

鲸落 2025-01-13 06:32:01

迟到了...

尝试 ND4S ——它支持 Scala 和其他基于 JVM 的语言的 n 维数组。

它链接到一个名为 Deeplearning4j 的开源框架,该框架实现了诸如LBFGS。

Late to this...

Try ND4S -- it supports n-dimensional arrays for Scala and other JVM-based languages.

It's linked to an open-source framework called Deeplearning4j, which implements algorithms such as LBFGS.

轻许诺言 2025-01-13 06:32:01

Scala 有 Scalala,但我不确定它是否满足您的需求。

还有这个问题中列出的: Java Scientific Packagesimilar to SciPy?。

There is Scalala for Scala, but I am not sure it covers your need.

There are also the ones listed in this SO question: Java Scientific Packages similar to SciPy?.

诺曦 2025-01-13 06:32:01

查看 ScalaLab 及其依赖项

Take a look at ScalaLab and its dependencies

淡写薰衣草的香 2025-01-13 06:32:01

您可以尝试 http://code.google.com/p/scalalab/http://commons.apache.org/math/ 我不确定它们是否符合您的需求,但它们是更新了并且有很多功能

You can try http://code.google.com/p/scalalab/ and http://commons.apache.org/math/ I am not sure if they matches you needs but they are updated and have a lots of functions

梦过后 2025-01-13 06:32:01

scalanlp 中使用的 breeze 怎么样?我看到 Spark 也在 LBFGS 方法的实现中使用它。

What about breeze, which is used in scalanlp? I see Spark is using it in the implementation of its LBFGS method too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文