diff scripts/general/interp2.m @ 24560:1c1adf6ab75d stable

doc: Fix issues in geometry, polynomial, and interpolation chapters (bug #52835). * geometry.txi: Re-write section on how to calculate Barycentric coordinates. Correct example code to actually work. * interp2.m: Rename "extrapval" to "extrap" to match rest of documentation. * tsearchn.m (cart2bary) : Clean up comments explaining code. * mkpp.m: Clarify size of output matrix for multi-dimensional interpolation.
author Rik <rik@octave.org>
date Mon, 08 Jan 2018 12:24:33 -0800
parents 3ac9f9ecfae5
children 06e22134d81a
line wrap: on
line diff
--- a/scripts/general/interp2.m	Mon Jan 08 11:31:22 2018 -0800
+++ b/scripts/general/interp2.m	Mon Jan 08 12:24:33 2018 -0800
@@ -71,7 +71,7 @@
 ## @end table
 ##
 ## @var{extrap} is a scalar number.  It replaces values beyond the endpoints
-## with @var{extrap}.  Note that if @var{extrapval} is used, @var{method} must
+## with @var{extrap}.  Note that if @var{extrap} is used, @var{method} must
 ## be specified as well.  If @var{extrap} is omitted and the @var{method} is
 ## @qcode{"spline"}, then the extrapolated values of the @qcode{"spline"} are
 ## used.  Otherwise the default @var{extrap} value for any other @var{method}