splinepy.helpme.integrate.Integrator.parametric_function#
- Integrator.parametric_function(function, orders=None)[source]#
Integrate a function defined within the parametric domain
- Parameters:
spline (Spline) – The geometry over which the function is integrated
function (Callable) – The user-defined function to integrate. It takes points in the parametric dimension as input and outputs a scalar or an array of scalars.
orders (optional) – Quadrature orders for numerical integration
- Returns:
integral
- Return type:
np.ndarray