multistatic
Provides a convenience factory method for instantiating multidimensional static arrays.
Installation
Add this to your application's shard.yml
:
dependencies:
multistatic:
github: willamin/multistatic
Usage
require "multistatic"
# eg. Instantiate a 2d StaticArray of Int32 with a size of 100x100 with default values of 0
StaticArray.dim(2, Int32, 100, 0)
Contributing
- Fork it ( https://github.com/willamin/multistatic/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- willamin Will Lewis - creator, maintainer