Mercurial > hg > octave-nkf
diff scripts/polynomial/polyaffine.m @ 10821:693e22af08ae
Grammarcheck documentation of m-files
Add newlines between @item fields for readability.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 26 Jul 2010 21:25:36 -0700 |
parents | 09da0bd91412 |
children | 2c356a35d7f5 |
line wrap: on
line diff
--- a/scripts/polynomial/polyaffine.m +++ b/scripts/polynomial/polyaffine.m @@ -17,8 +17,9 @@ ## @deftypefn {Function File} {} polyaffine (@var{f}, @var{mu}) ## Return the coefficients of the polynomial whose coefficients are given by ## vector @var{f} after an affine tranformation. If @var{f} is the vector -## representing the polynomial f(x), then @var{g} = polytrans (@var{f}, -## @var{mu}) is the vector representing +## representing the polynomial f(x), then @code{@var{g} = polyaffine (@var{f}, +## @var{mu})} is the vector representing +## ## @example ## g(x) = f((x-@var{mu}(1))/@var{mu}(2)). ## @end example @@ -34,11 +35,11 @@ endif if (! isvector (f)) - error ("polyaffine: first argument must be a vector."); + error ("polyaffine: F must be a vector."); endif if (! isvector (mu) || length (mu) != 2) - error ("polyaffine: second argument must be a two-element vector."); + error ("polyaffine: MU must be a two-element vector."); endif lf = length (f);