Mercurial > hg > octave-nkf
diff scripts/polynomial/ppder.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/polynomial/ppder.m +++ b/scripts/polynomial/ppder.m @@ -17,7 +17,7 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {ppd =} ppder (pp) +## @deftypefn {Function File} {@var{ppd} =} ppder (@var{pp}) ## Computes the piecewise derivative of a piecewise polynomial struct @var{pp}. ## @seealso{mkpp,ppval} ## @end deftypefn @@ -27,7 +27,7 @@ print_usage (); endif if (! isstruct (pp)) - error ("ppder: expects a pp structure"); + error ("ppder: PP must be a structure"); endif [x, p, n, k, d] = unmkpp (pp);