Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Tools for adaptive multidimensional Monte Carlo integration.

Project description

The vegas package is for evaluating multidimensional integrals using an improved version of the adaptive Monte Carlo vegas algorithm (G. P. Lepage, J. Comput. Phys. 27(1978) 192). A tutorial on its use can be found in the documentation: see doc/html/index.html or <>.

The vegas algorithm has been widely used for decades to evaluate integrals of 2 or more dimensions numerically. It is particularly well suited to higher dimensions (e.g., 9 for Feynman diagram evaluation). The algorithm in this package is significantly improved over the original vegas implementation. In particular a second adaptive strategy has been added. It also supports multi-processor evaluation of integrands using MPI.

The new algorithm is described in G. P. Lepage, <>.

See the INSTALLATION file for installation directions. Test vegas using make tests. Some simple examples are in the examples/ subdirectory.

vegas version numbers have the form major.minor.patch where incompatible changes are signaled by incrementing the major version number, the minor number signals new features, and the patch number signals bug fixes.

Created by G. Peter Lepage (Cornell University) 2013
Copyright (c) 2013-2018 G. Peter Lepage

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vegas, version 3.5.1
Filename, size File type Python version Upload date Hashes
Filename, size vegas-3.5.1.tar.gz (1.1 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page