Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skalnik/euler
A small gem that provides a library to help in the solving of Project Euler problems
https://github.com/skalnik/euler
Last synced: 21 days ago
JSON representation
A small gem that provides a library to help in the solving of Project Euler problems
- Host: GitHub
- URL: https://github.com/skalnik/euler
- Owner: skalnik
- License: mit
- Created: 2008-08-25T12:18:55.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2009-10-12T20:30:53.000Z (about 15 years ago)
- Last Synced: 2024-09-15T04:23:39.633Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 111 KB
- Stars: 8
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE
Awesome Lists containing this project
README
= euler
== DESCRIPTION
libeuler is a simple library you can include in your code to take away some of the boring repetitive parts of solving Project Euler problems.
== FEATURES
* Adds various methods to the Integer class, such as factorial, prime?, is_fibonacci?, etc.
* Provides various module methods, such as generate_sieve, get_primes, etc.== SYNOPSIS
require 'rubygems'
require 'euler'
5.factorial # => 120== REQUIREMENTS
* none
== INSTALL
* sudo gem install euler
== COLLABORATION
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a future version unintentionally.
* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.== COPYRIGHT
Copyright (c) 2009 Mike Skalnik, Nick Kezhaya. See LICENSE for details.