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.
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. Thegem 'rb-gsl'
call in the Gemfile is there to enable someone to use GSL if available for faster implementations and for improper integrals.