From e9f58c32f830907424d9d3e6a5b850a3fa19c26e Mon Sep 17 00:00:00 2001 From: "John M. Penn" Date: Tue, 15 Mar 2022 12:01:20 -0500 Subject: [PATCH] Document exeption from Trick::Interpolator.eval() #1240 --- trick_source/trick_utils/interpolator/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trick_source/trick_utils/interpolator/README.md b/trick_source/trick_utils/interpolator/README.md index f581e6cf..57851c3c 100644 --- a/trick_source/trick_utils/interpolator/README.md +++ b/trick_source/trick_utils/interpolator/README.md @@ -28,6 +28,8 @@ Trick::Interpolator (double* Table, double Trick::Interpolator::eval (double param1, ...) ``` This member function returns an estimate of the function represented by the interpolator. +If the arguments are out side the bounds the interpolator break points, a ```std::logic_error``` +exception will be thrown. # Examples