May 16, 2012

Building NMatrix on OSX

NMatrix is a Ruby library providing some linear algebra functions and sparse data-structures. Unfortunately, it's surprisingly difficult to get running on OSX. Here's a hackish method, using rvm and macports (I'll show what I had to install on my system, you may need more – the documentation is rather sparse at this point). sudo port install atlas cd rvm use ruby-1.9.3 gem install isolate hoe rspec rake-compiler hoe-git json packable git clone https://github. Read more

Powered by Hugo & Kiss.