有人提到了NArray和Ara T. Howard / @drawohara的SciRuby。 但是还有一个新的SciRuby项目(在Ara和Masahiro Tanaka的祝福下进行),其中包括一个密集和稀疏矩阵gem,NMatrix。它还没有完成,但它可以做基本的东西。 SciRuby github账户还有一堆其他有用的gems,包括statsample(用于统计)和rubyvis(用于可视化)。
linalg https://github.com/wedesoft,安装说明:http://www.quora.com/Installation-Instructions/How-do-I-install-Ruby-linalg-library-on-Mac
gem install nmatrix
- Translunar