Mercurial > hg > octave-nkf
view libinterp/mkdocs @ 19859:5a59c0e1203d
Modified the "extrap" option for interp2, interp3, and interpn (bug #44002).
* interp2.m: allow only "spline" method to set extrapolation values, improved
input validation, updated documentation, testcases added and modified
* interp3.m: allow only "spline" method to set extrapolation values, improved
input validation, updated documentation (no need to implement "pchip"),
testcases added and modified
* interpn.m: allow only "spline" method to set extrapolation values, improved
input validation, updated documentation, testcases added and modified
* __splinen__.m: only apply external supplied extrapolation value
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Thu, 05 Feb 2015 17:58:20 +0100 |
parents | 446c46af4b42 |
children | 4197fc428c7d |
line wrap: on
line source
#! /bin/sh # # Copyright (C) 1999-2013 John W. Eaton # # This file is part of Octave. # # Octave is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at # your option) any later version. # # Octave is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with Octave; see the file COPYING. If not, see # <http://www.gnu.org/licenses/>. SED=${SED:-'sed'} $SED -n -e '/^BEGIN_DOC_STRING/{ : loop N /END_DOC_STRING/b done b loop : done s/BEGIN_DOC_STRING// s/END_DOC_STRING// p }'