comparison scripts/polynomial/ppval.m @ 10793:be55736a0783

Grammarcheck the documentation from m-files.
author Rik <octave@nomad.inbox5.com>
date Sun, 18 Jul 2010 20:35:16 -0700
parents fbd7843974fa
children a4f482e66b65
comparison
equal deleted inserted replaced
10792:91342260063e 10793:be55736a0783
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {@var{yi} =} ppval (@var{pp}, @var{xi}) 20 ## @deftypefn {Function File} {@var{yi} =} ppval (@var{pp}, @var{xi})
21 ## Evaluate piece-wise polynomial @var{pp} at the points @var{xi}. 21 ## Evaluate piece-wise polynomial @var{pp} at the points @var{xi}.
22 ## If @var{pp} is scalar-valued, the result is an array of the same shape as @var{xi}. 22 ## If @var{pp} is scalar-valued, the result is an array of the same shape as
23 ## @var{xi}.
23 ## Otherwise, the size of the result is @code{[pp.d, length(@var{xi})]} if 24 ## Otherwise, the size of the result is @code{[pp.d, length(@var{xi})]} if
24 ## @var{xi} is a vector, or @code{[pp.d, size(@var{xi})]} if it is a multi-dimensional 25 ## @var{xi} is a vector, or @code{[pp.d, size(@var{xi})]} if it is a multi-dimensional
25 ## array. If pp.orient is 1, the dimensions are permuted as in interp1, to 26 ## array. If pp.orient is 1, the dimensions are permuted as in interp1, to
26 ## @code{[pp.d, length(@var{xi})]} and @code{[pp.d, size(@var{xi})]} respectively. 27 ## @code{[pp.d, length(@var{xi})]} and @code{[pp.d, size(@var{xi})]} respectively.
27 ## @seealso{mkpp, unmkpp, spline} 28 ## @seealso{mkpp, unmkpp, spline}