23tux
23tux

Reputation: 14736

Ruby mathematic gem

does anybody know if there is a good gem for mathematic / geometric operations? I need some of this things:

thx, tux

Upvotes: 11

Views: 4223

Answers (5)

Translunar
Translunar

Reputation: 3816

NMatrix from the SciRuby project might be what you're looking for.

Upvotes: 0

alex
alex

Reputation: 1917

Linalg https://github.com/wedesoft , I posted instructions how to install it here: http://www.quora.com/Installation-Instructions/How-do-I-install-Ruby-linalg-library-on-Mac

Upvotes: 0

npad
npad

Reputation: 5046

I can highly recommend the Ruby/GSL gem.

You may need to refer to the GSL manual to work out the name of the function you need to call though, if it's not documented in the Ruby/GSL documentation.

Upvotes: 8

Alexandre C.
Alexandre C.

Reputation: 56956

http://linalg.rubyforge.org/ seems to do what you want. It is based on LAPACK, the standard ultra tested 40-year linear algebra framework. Moreover, you can plug in vendor-specific LAPACK libraries for optimized code.

Upvotes: 2

Pedro Rolo
Pedro Rolo

Reputation: 29940

I am not sure if this may help: http://narray.rubyforge.org

Upvotes: 0

Related Questions