Install ruby-integration by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-integration
Description:
Numerical integration for Ruby, with a simple interface
This library offers numerical integration for Ruby, with a simple interface. The rectangular, trapezoidal, Simpson, adaptive quadrature, Monte Carlo and Romberg integration methods are available in pure Ruby. Better performance and support for infinite bounds can be obtained via Ruby/GSL (from the ruby-gsl package).
Homepage: http://github.com/clbustos/integration
Version: 0.1.0-1build1
Section: universe/ruby