Abstract

The Cuba library provides new implementation of four general-purpose multidimensional integration algorithms: Vegas, Suave, Divonne, and Cuhre. Suave is a new algorithm, Divonne is a known algorithm to which important details have been added, and Vegas and Cuhre are new implementations of existing algorithms with only few improvements over the original versions. All four algorithms can integrate vector integrands and have very similar Fortran, C/C++, and Mathematica interfaces. Program summary Title of program: Cuba Catalogue identifier:ADVH_v1_3 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/ADVH_v1_3 Catalogue identifier of previous version: ADVH_v1_0 Journal Reference of previous version: Comput. Phys. Comm. 168 (2) 78–95, doi:10.1016/j.cpc.2005.01.010 Program obtainable from: CPC Program Library, Queen's University of Belfast, N. Ireland Computer for which the program is designed and others on which is has been tested: Designed for: all platforms with an ISO C99 C compiler Tested on: x86 (Linux/gcc), Alpha (Tru64 Unix/gcc), PowerPC (Mac OS X/gcc) Operating systems or monitors under which the program has been tested: Linux, Tru64 Unix, Mac OS X Programming language used: C Memory required to execute with typical data: 1M words No. of bits in a word: 8 No. of processors used: 1 Has the code been vectorized or parallelized?: No No. of lines in distributed program, including test data, etc.: 14 972 No. of bytes in distributed program, including test data, etc.: 133 344 Distribution format: gzipped tar archive Nature of the physical problem: Multidimensional numerical integrations, e.g., of phase spaces. Method of solution: The Cuba library contains the four algorithms Vegas, Suave, Divonne, and Cuhre with the following characteristics: Routine Basic integration method Algorithm type Variance reduction Vegas Sobol quasi-random sample Monte Carlo importance sampling Suave Sobol quasi-random sample Monte Carlo globally adaptive subdivision Divonne Korobov quasi-random sample Monte Carlo stratified sampling, or Sobol quasi-random sample Monte Carlo aided by methods from or cubature rules deterministic numerical optimization Cuhre cubature rules deterministic globally adaptive subdivision Typical running time: Varies greatly depending on the integrand and the chosen accuracy. Can range from seconds to days. Unusual features of the program: Coherent interface in Fortran, C/C++, and Mathematica. Can integrate vector integrands. Does the new version supersede the previous version?: Yes Reasons for the new version: User-requested improvements Summary of revisions: Version 1.3 adds versions of the integration routines where all number-of-points-like quantities are 64-bit integers ( long long int in C, integer*8 in Fortran). This can become necessary in cases of slow convergence. The corresponding routine names are prefixed with “ ll”.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call