Integrals.jl
Integrals.jl copied to clipboard
eliminate need for nout parameter in most cases?
nout: The output size of the function f. Defaults to 1, i.e., a scalar integral output.
It seems like this nout parameter should not be needed for all algorithms.
In QuadGK and HCubature, you can integrate functions whose output is in any normed vector space, and the type is deteremined the first time the integrand is evaluated.
I get why you might need nout for some of the external C libraries, but it seems like you should be able to tell the user that it is not needed for certain algorithms.