InterpolatingFunction::dmval
Details
-
- This message is generated when the argument passed to an InterpolatingFunction expression falls outside the range of the interpolation.
- Extrapolation outside of the range of the interpolation can give misleading results.
- Off[message] switches off the message; On[message] switches it on. For example: Off[InterpolatingFunction::dmval].
Examples
Basic Examples (1)
The point at which the InterpolatingFunction expression is evaluated is beyond the range of the interpolation:
interp = Interpolation[{{2, 3.7}, {3, 6.5}, {5, 1.8}, {8, 2.1}}]interp[20]There is no difficulty if the InterpolatingFunction expression is evaluated within the range of the interpolation:
interp[4]Clear[interp]