From 63f79f0504fa9b22e12f0bf90a5c471878bd01f8 Mon Sep 17 00:00:00 2001 From: "W. Spencer Smith" <smiths@mcmaster.ca> Date: Thu, 8 Feb 2018 15:38:38 -0500 Subject: [PATCH] Clarification of A2 example that edge effects are not a problem for scipy --- Lectures/L16_FunctProgContinued/A2Examples.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lectures/L16_FunctProgContinued/A2Examples.py b/Lectures/L16_FunctProgContinued/A2Examples.py index 71e32135..db53c6c6 100644 --- a/Lectures/L16_FunctProgContinued/A2Examples.py +++ b/Lectures/L16_FunctProgContinued/A2Examples.py @@ -17,7 +17,8 @@ c2 = CurveT(X, Y, 2) print(c2.eval(6.5)) PlotCurve(c2, 5) -#PlotCurve(c2, 50) will look strange because of edge effects +#PlotCurve(c, 50) will look strange because of edge effects +#although scipy interp1d is "smart" enough to sort this out Load('glass.csv') -- GitLab