Search code examples
rubymatrixstatisticsalgebramatrix-inverse

Statistics and matrix algebra in Ruby


I need to inverse a variance-covariance matrix in Ruby and vector by matrix multiplication. Which numerical Ruby library/Gem should I use?


Solution

  • Try using the 'matrix' library:

    http://www.ruby-doc.org/stdlib/libdoc/matrix/rdoc/index.html