Search code examples
rubymathplotscientific-computingalgebra

Scientific Programming with Ruby


I was doing the mathematical calculations with python or octave because of availability of really nice functions and libraries at hand. But recently I gained interest in ruby and I wonder if there is an equivalent in Ruby to the numpy, scipy in Python for scientific programming. Specifically, I'm looking something that I can draw plots as in matplotlib and do mathematical, algebraic calculations quickly as in numpy and scipy.


Solution

  • Linear algebra is at the heart of most large-scale scientific computing. LAPACK is the gold standard for linear algebra libraries, first written in FORTRAN.

    There's a port to Ruby here. Once you have that, the rest is incidental, but there are also plotting routines in Ruby.