Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/quad.cc @ 9064:7c02ec148a3c
Check grammar on all .cc files
Same check as previously done on .m files
Attempt to enforce some conformity in documentation text for rules
such as two spaces after a period, commas around latin abbreviations, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 28 Mar 2009 13:57:22 -0700 |
parents | eb63fbe60fab |
children | 610bf90fce2a |
comparison
equal
deleted
inserted
replaced
9063:a6cf0ad87eee | 9064:7c02ec148a3c |
---|---|
176 | 176 |
177 DEFUN_DLD (quad, args, nargout, | 177 DEFUN_DLD (quad, args, nargout, |
178 "-*- texinfo -*-\n\ | 178 "-*- texinfo -*-\n\ |
179 @deftypefn {Loadable Function} {[@var{v}, @var{ier}, @var{nfun}, @var{err}] =} quad (@var{f}, @var{a}, @var{b}, @var{tol}, @var{sing})\n\ | 179 @deftypefn {Loadable Function} {[@var{v}, @var{ier}, @var{nfun}, @var{err}] =} quad (@var{f}, @var{a}, @var{b}, @var{tol}, @var{sing})\n\ |
180 Integrate a nonlinear function of one variable using Quadpack.\n\ | 180 Integrate a nonlinear function of one variable using Quadpack.\n\ |
181 The first argument is the name of the function, the function handle or\n\ | 181 The first argument is the name of the function, the function handle or\n\ |
182 the inline function to call to compute the value of the integrand. It\n\ | 182 the inline function to call to compute the value of the integrand. It\n\ |
183 must have the form\n\ | 183 must have the form\n\ |
184 \n\ | 184 \n\ |
185 @example\n\ | 185 @example\n\ |
186 y = f (x)\n\ | 186 y = f (x)\n\ |
195 The optional argument @var{tol} is a vector that specifies the desired\n\ | 195 The optional argument @var{tol} is a vector that specifies the desired\n\ |
196 accuracy of the result. The first element of the vector is the desired\n\ | 196 accuracy of the result. The first element of the vector is the desired\n\ |
197 absolute tolerance, and the second element is the desired relative\n\ | 197 absolute tolerance, and the second element is the desired relative\n\ |
198 tolerance. To choose a relative test only, set the absolute\n\ | 198 tolerance. To choose a relative test only, set the absolute\n\ |
199 tolerance to zero. To choose an absolute test only, set the relative\n\ | 199 tolerance to zero. To choose an absolute test only, set the relative\n\ |
200 tolerance to zero. \n\ | 200 tolerance to zero. \n\ |
201 \n\ | 201 \n\ |
202 The optional argument @var{sing} is a vector of values at which the\n\ | 202 The optional argument @var{sing} is a vector of values at which the\n\ |
203 integrand is known to be singular.\n\ | 203 integrand is known to be singular.\n\ |
204 \n\ | 204 \n\ |
205 The result of the integration is returned in @var{v} and @var{ier}\n\ | 205 The result of the integration is returned in @var{v} and @var{ier}\n\ |