Mercurial > hg > octave-nkf
comparison scripts/polynomial/mkpp.m @ 11536:702dbd0c53f5
Add undocumented ppder, ppint, ppjumps functions to documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 14 Jan 2011 15:55:45 -0800 |
parents | fd0a3ac60b0e |
children | c792872f8942 |
comparison
equal
deleted
inserted
replaced
11535:440a6b54e6f1 | 11536:702dbd0c53f5 |
---|---|
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{pp} =} mkpp (@var{x}, @var{p}) | 20 ## @deftypefn {Function File} {@var{pp} =} mkpp (@var{x}, @var{p}) |
21 ## @deftypefnx {Function File} {@var{pp} =} mkpp (@var{x}, @var{p}, @var{d}) | 21 ## @deftypefnx {Function File} {@var{pp} =} mkpp (@var{x}, @var{p}, @var{d}) |
22 ## | 22 ## |
23 ## Construct a piece-wise polynomial structure from sample points | 23 ## Construct a piecewise polynomial structure from sample points |
24 ## @var{x} and coefficients @var{p}. The i-th row of @var{p}, | 24 ## @var{x} and coefficients @var{p}. The i-th row of @var{p}, |
25 ## @code{@var{p} (@var{i},:)}, contains the coefficients for the polynomial | 25 ## @code{@var{p} (@var{i},:)}, contains the coefficients for the polynomial |
26 ## over the @var{i}-th interval, ordered from highest to | 26 ## over the @var{i}-th interval, ordered from highest to |
27 ## lowest. There must be one row for each interval in @var{x}, so | 27 ## lowest. There must be one row for each interval in @var{x}, so |
28 ## @code{rows (@var{p}) == length (@var{x}) - 1}. | 28 ## @code{rows (@var{p}) == length (@var{x}) - 1}. |