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 bayes
Clenshaw-Curtis cc
Returns: F – The integral of
fun
within the given bounds.Return type: