splinepy.helpme.integrate.FieldIntegrator.compute_error#
- FieldIntegrator.compute_error(function, norm='l2')[source]#
Compute error to some given function(s) w.r.t a norm
- Parameters:
function (callable) – Analytical function(s) to compare to
norm (str) – Used norm for error calculation
- Returns:
error_integration – Value(s) of error in given norm
- Return type:
np.ndarray