Reputation: 25652
Looking further into the differences between Python and Ruby, is there a Ruby equivalent to SciPy, or what other scientific math gems are available for Ruby?
Upvotes: 15
Views: 6590
Reputation: 3816
Someone else mentioned NArray and Ara T. Howard's / @drawohara's SciRuby.
But there's also a new SciRuby project (proceeding with Ara's and Masahiro Tanaka's blessings) which includes a dense and sparse matrix gem, NMatrix. It's not finished yet, but it does basic stuff.
The SciRuby github account also has a bunch of other useful gems, including statsample (for statistics) and rubyvis (for visualization).
Upvotes: 1
Reputation: 488384
There's nothing quite as mature or well done as SciPy, but check out SciRuby and Numerical Ruby.
Upvotes: 17
Reputation: 1917
linalg https://github.com/wedesoft, installation instructions: http://www.quora.com/Installation-Instructions/How-do-I-install-Ruby-linalg-library-on-Mac
Upvotes: 0
Reputation:
rnum
Ruby Numerical Library is a linear algebra package using Blas and Lapack.
Site has some speed comparisons
Upvotes: 2