quad¶
-
probnum.quad.quad(fun, bounds, type=None)[source]¶ One-dimensional numerical integration.
Parameters: - fun (function) – Function to be integrated.
- bounds (ndarray, shape=(2,)) – Domain of integration.
- type (str) –
Type of quadrature to use. The available options are
Bayesian bayesClenshaw-Curtis cc
Returns: F – The integral of
funwithin the given bounds.Return type: