Mercurial > hg > octave-nkf
comparison scripts/polynomial/polyval.m @ 16489:36dba9be680b
doc: Make documentation compatible with Texinfo 5.0 (bug #38392)
* scripts/audio/wavread.m, scripts/miscellaneous/getappdata.m,
scripts/miscellaneous/license.m, scripts/miscellaneous/ver.m,
scripts/plot/daspect.m, scripts/plot/graphics_toolkit.m,
scripts/plot/pbaspect.m, scripts/polynomial/polyval.m,
scripts/polynomial/splinefit.m, scripts/set/union.m, scripts/signal/freqz.m:
Moved @deftypefnx entries to always immediately follow @deftypefn.
author | Amod Mulay <amodmulay1@gmail.com> |
---|---|
date | Fri, 22 Mar 2013 17:07:00 -0400 |
parents | f3b5cadfd6d5 |
children | d63878346099 |
comparison
equal
deleted
inserted
replaced
16488:d4ce14c19c2c | 16489:36dba9be680b |
---|---|
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{y} =} polyval (@var{p}, @var{x}) | 20 ## @deftypefn {Function File} {@var{y} =} polyval (@var{p}, @var{x}) |
21 ## @deftypefnx {Function File} {@var{y} =} polyval (@var{p}, @var{x}, [], @var{mu}) | 21 ## @deftypefnx {Function File} {@var{y} =} polyval (@var{p}, @var{x}, [], @var{mu}) |
22 ## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}) | |
23 ## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu}) | |
24 ## | |
22 ## Evaluate the polynomial @var{p} at the specified values of @var{x}. When | 25 ## Evaluate the polynomial @var{p} at the specified values of @var{x}. When |
23 ## @var{mu} is present, evaluate the polynomial for | 26 ## @var{mu} is present, evaluate the polynomial for |
24 ## (@var{x}-@var{mu}(1))/@var{mu}(2). | 27 ## (@var{x}-@var{mu}(1))/@var{mu}(2). |
25 ## If @var{x} is a vector or matrix, the polynomial is evaluated for each of | 28 ## If @var{x} is a vector or matrix, the polynomial is evaluated for each of |
26 ## the elements of @var{x}. | 29 ## the elements of @var{x}. |
27 ## | 30 ## |
28 ## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}) | |
29 ## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu}) | |
30 ## In addition to evaluating the polynomial, the second output | 31 ## In addition to evaluating the polynomial, the second output |
31 ## represents the prediction interval, @var{y} +/- @var{dy}, which | 32 ## represents the prediction interval, @var{y} +/- @var{dy}, which |
32 ## contains at least 50% of the future predictions. To calculate the | 33 ## contains at least 50% of the future predictions. To calculate the |
33 ## prediction interval, the structured variable @var{s}, originating | 34 ## prediction interval, the structured variable @var{s}, originating |
34 ## from @code{polyfit}, must be supplied. | 35 ## from @code{polyfit}, must be supplied. |
36 ## | |
35 ## @seealso{polyvalm, polyaffine, polyfit, roots, poly} | 37 ## @seealso{polyvalm, polyaffine, polyfit, roots, poly} |
36 ## @end deftypefn | 38 ## @end deftypefn |
37 | 39 |
38 ## Author: Tony Richardson <arichard@stark.cc.oh.us> | 40 ## Author: Tony Richardson <arichard@stark.cc.oh.us> |
39 ## Created: June 1994 | 41 ## Created: June 1994 |