NumRuby

Build Status

Fast Numerical Linear Algebra Library for Ruby. NMatrix reimplementation.

Installation

Install dependency libraries

Debian/Ubuntu

sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install liblapacke-dev

Mac OSX

brew install openblas
brew install lapack

Build the library

git clone https://github.com/sciruby/numruby
cd numruby/
gem install bundler
bundle install
rake compile

Run tests

rake test

Try out the code without installing

rake pry

Speed Test

ruby benchmark/bench.rb

Documentation

Yard is used for documenting class and methods following yard tags. To generate the static documentation in doc folder run yard doc. To serve it in localhost run yard server.

LICENSE

This software is distributed under the BSD 3-Clause License.

Copyright © 2018-2019, Prasun Anand