Gem | Activity | Code | Issue | Statistic |
---|---|---|---|---|
Ruby wrapper around C matrices implementation written as exercise by MMCS students.
Add this line to your application's Gemfile:
gem 'fast_matrix'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fast_matrix
See our GitHub Wiki.
Fast matrix is native extension in C, so, for development you need Linux (maybe, MacOS) or Docker.
After checking out the repo, run gem install bundler -v 2.0.2
, bundle install
and bundler exec rake
or use Dockerfile
.
Commands:
bundler exec rake compile
- compile C part of gem;bundler exec rake test
- run tests;bundler exec rake test TESTOPTS='-v'
- run tests with more information (description skipped tests);bundler exec rake
- compile and run tests.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/mmcs-ruby/fast_matrix. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the FastMatrix project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.