SciRuby / integration

Integration methods, based on original work by Beng
9 stars 1 forks source link

Reformatted most of the source code. GSL is required if installed. #5

Closed agarie closed 9 years ago

agarie commented 9 years ago

Lots of changes in this one! (but they're related)

I moved the integration methods to lib/integration/methods.rb in order to decrease the lib/integration.rb file size. It should be a bit easier to read now. Not only that, but I passed the code through rubocop --auto-correct, so most of the style "mistakes" are fixed as well.

Finally, I started using YARD (i.e. #infinite?) and shall update the documentation in the following days. The gem 'rb-gsl' call in the Gemfile is there to enable someone to use GSL if available for faster implementations and for improper integrals.