InterpolatingFunction::dmvali
Details
-
- This message is generated when an InterpolatingFunction expression is integrated, and the range of integration extends outside the range of the interpolation.
- Although this message does not necessarily represent an error, extrapolation beyond the range of interpolation can give unexpected or misleading results.
- Off[message] switches off the message; On[message] switches it on. For example: Off[InterpolatingFunction::dmvali].
Examples
Basic Examples (1)
A warning message is generated because computation of the integral requires extrapolation beyond the range of interpolation of the integrand:
interp = FunctionInterpolation[Sin[x], {x, 0, Pi}]Integrate[interp[x], {x, 0, 2Pi}]A more accurate result can be computed by extending the range of interpolation:
interp = FunctionInterpolation[Sin[x], {x, 0, 2 Pi}]Integrate[interp[x], {x, 0, 2Pi}]Clear[interp]