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:

There is no difficulty if the InterpolatingFunction expression is evaluated within the range of the interpolation:

Clear the value of interp: