Package: cubature 2.1.1

Balasubramanian Narasimhan

cubature: Adaptive Multivariate Integration over Hypercubes

R wrappers around the cubature C library of Steven G. Johnson for adaptive multivariate integration over hypercubes and the Cuba C library of Thomas Hahn for deterministic and Monte Carlo integration. Scalar and vector interfaces for cubature and Cuba routines are provided; the vector interfaces are highly recommended as demonstrated in the package vignette.

Authors:Balasubramanian Narasimhan [aut, cre], Manuel Koller [ctb], Steven G. Johnson [aut], Thomas Hahn [aut], Annie Bouvier [aut], Kiên Kiêu [aut], Simen Gaure [ctb]

cubature_2.1.1.tar.gz
cubature_2.1.1.tar.gz(r-4.5-noble)cubature_2.1.1.tar.gz(r-4.4-noble)
cubature.pdf |cubature.html
cubature/json (API)
NEWS

# Install 'cubature' in R:
install.packages('cubature', repos = 'https://cloud.r-project.org')

Bug tracker:https://github.com/bnaras/cubature/issues1 issues

Pkgdown site:https://bnaras.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:r-cubature-2.0.4.6(2025-03-25)

fortrancpp

6.99 score 159 packages 20k downloads 1 mentions 9 exports 1 dependencies

Last updated 9 months agofrom:d5c08ae23d. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 12 2025
R-4.5-linux-x86_64OKMar 12 2025
R-4.4-linux-x86_64OKMar 12 2025

Exports:adaptIntegratecubintegratecuhredefault_argsdivonnehcubaturepcubaturesuavevegas

Dependencies:Rcpp

Cubature Vectorization Results

Rendered fromcubature.Rmdusingknitr::rmarkdownon Mar 12 2025.

Last update: 2024-07-15
Started: 2016-12-12

Version 2.0 Notes

Rendered fromversion2.Rmdusingknitr::rmarkdownon Mar 12 2025.

Last update: 2024-07-15
Started: 2018-11-23

Citation

To cite package ‘cubature’ in publications use:

Narasimhan B, Johnson SG, Hahn T, Bouvier A, Kiêu K (2024). cubature: Adaptive Multivariate Integration over Hypercubes. R package version 2.1.1, https://CRAN.R-project.org/package=cubature.

Corresponding BibTeX entry:

  @Manual{,
    title = {cubature: Adaptive Multivariate Integration over
      Hypercubes},
    author = {Balasubramanian Narasimhan and Steven G. Johnson and
      Thomas Hahn and Annie Bouvier and Kiên Kiêu},
    year = {2024},
    note = {R package version 2.1.1},
    url = {https://CRAN.R-project.org/package=cubature},
  }

Readme and manuals

cubature

Cubature is an R package for adaptive multivariate integration over hypercubes using deterministic and Monte Carlo methods. The package provides wrappers around two C libraries:

Both scalar and vectorized interfaces are available for all routines. R users will gain a lot by using the vectorization as demonstrated in the included vignette.

Dedication

Version 2.0 is dedicated to the memory of Kiên Kiêu, one of the original authors of R2Cuba. I (BN) never knew him, but this package derives from his work on R2Cuba.