splinepy.helpme.integrate.parametric_function#

splinepy.helpme.integrate.parametric_function(spline, 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