SciRuby / integration

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

How to perform simple integration using this gem? #8

Open AbhimanyuAryan opened 8 years ago

AbhimanyuAryan commented 8 years ago

I don't wish to perform simpson's rule

Integration.integrate(1, 2, tolerance: 1e-10, method: :simpson) do |x| x**2 end

I want simple integration

x**2 within limits 1,2

where are the tutorials and documentation?