Cubature.jl icon indicating copy to clipboard operation
Cubature.jl copied to clipboard

One- and multi-dimensional adaptive integration routines for the Julia language

Results 8 Cubature.jl issues
Sort by recently updated
recently updated
newest added

hquadrature(sin, 0.0, 2*pi) Info on my machine and Julia version: Julia Version 0.6.1 Commit 0d7248e2ff (2017-10-24 22:15 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz...

As discussed in https://github.com/giordano/Cuba.jl/issues/16, hcubature seems to fail for a discontinuous integrand (see MWE there). The integrand is the indicator function of a polygon, so a Riemann sum with NxN...

The integrand in the example now is written in the form of _inline_ function. But, I believe it's easier to understand how to use 'hcubature' when the integrand is written...

In the README you recommend integrating complex functions as vectors with PAIRED error. Would you be averse to having a simple Julia wrapper which accepts functions which return complex values?...

`pcubature` gives the wrong answer when integrating `sin(x)^2` in the interval `[0,2π]`: it should be π, it returns instead 0 ([thread in discourse](https://discourse.julialang.org/t/convergence-of-hcubature/660/5)) ``` julia> pcubature(x -> sin(x[1])^2, [0.0], [2π],...

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...

dependencies

The error message is following (@v1.7) pkg> add Cubature Resolving package versions... Downloaded artifact: Cubature Downloaded artifact: Cubature ERROR: Unable to automatically install 'Cubature' from 'C:\Users\zhanglu\.julia\packages\Cubature_jll\CVTTF\Artifacts.toml' Stacktrace: [1] error(s::String) @...

As writes in the README, when the integrand is multi-dimensional, it should be passessed as `f(x, v)`, and it should be noted that `v` is assigned in `f`. I am...