Mercurial > hg > octave-nkf
diff scripts/polynomial/ppint.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/ppint.m +++ b/scripts/polynomial/ppint.m @@ -17,7 +17,7 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {ppd =} ppint (pp, c) +## @deftypefn {Function File} {@var{ppi} =} ppint (@var{pp}, @var{c}) ## Computes the antiderivative of a piecewise polynomial struct @var{pp}. ## @var{c}, if given, is the constant of integration. ## @seealso{mkpp,ppval} @@ -28,7 +28,7 @@ print_usage (); endif if (! isstruct (pp)) - error ("ppint: expects a pp structure"); + error ("ppint: PP must be a structure"); endif [x, p, n, k, d] = unmkpp (pp); @@ -52,4 +52,3 @@ endfunction -