RGrid

RGrid is an Array-like data structure for Ruby for effectively manipulating multi-dimensional arrays.

Installation

Add this line to your application's Gemfile:

gem 'rgrid'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rgrid

Usage

# `x`, `xn`, `y` and `yn` are all instances of Fixnum.
RGrid::Grid.new(x: x, xn: xn, y: y, yn: yn)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gavinlaking/rgrid.

License

The gem is available as open source under the terms of the MIT License.