Skip to content

仓库 files navigation

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

关于

Fast Numerical Linear Algebra Library for Ruby. NMatrix reimplementation.

Topics

Resources

Contributing

Stars

45 stars

关注者

9 watching

复刻s

发布

Used by

贡献者

Languages