quadax.AbstractCubatureRule
- class quadax.AbstractCubatureRuleSource
Abstract base class for cubature rules over an n-dimensional box.
Subclasses should implement
ndimand theintegratemethod for integrating a function over a fixed box using the given rule.Subclasses may also override the
normmethod for measuring error for vector valued integrands. Default is the infinity (max) norm.Methods
integrate(fun, a, b, args)Integrate
fun(x, *args)over the box with corners a and b.norm(x)Norm to use for measuring error for vector valued integrands.
Attributes
Dimension of the domain this rule integrates over.