Mercurial > hg > octave-lyh
comparison scripts/general/quadl.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | eb63fbe60fab |
children | 923c7cb7f13f |
comparison
equal
deleted
inserted
replaced
9044:656ad518f385 | 9051:1bf0ce0930be |
---|---|
22 ## @deftypefnx {Function File} {@var{q} =} quadl (@var{f}, @var{a}, @var{b}, @var{tol}, @var{trace}) | 22 ## @deftypefnx {Function File} {@var{q} =} quadl (@var{f}, @var{a}, @var{b}, @var{tol}, @var{trace}) |
23 ## @deftypefnx {Function File} {@var{q} =} quadl (@var{f}, @var{a}, @var{b}, @var{tol}, @var{trace}, @var{p1}, @var{p2}, @dots{}) | 23 ## @deftypefnx {Function File} {@var{q} =} quadl (@var{f}, @var{a}, @var{b}, @var{tol}, @var{trace}, @var{p1}, @var{p2}, @dots{}) |
24 ## | 24 ## |
25 ## Numerically evaluate integral using adaptive Lobatto rule. | 25 ## Numerically evaluate integral using adaptive Lobatto rule. |
26 ## @code{quadl (@var{f}, @var{a}, @var{b})} approximates the integral of | 26 ## @code{quadl (@var{f}, @var{a}, @var{b})} approximates the integral of |
27 ## @code{@var{f}(@var{x})} to machine precision. @var{f} is either a | 27 ## @code{@var{f}(@var{x})} to machine precision. @var{f} is either a |
28 ## function handle, inline function or string containing the name of | 28 ## function handle, inline function or string containing the name of |
29 ## the function to evaluate. The function @var{f} must return a vector | 29 ## the function to evaluate. The function @var{f} must return a vector |
30 ## of output values if given a vector of input values. | 30 ## of output values if given a vector of input values. |
31 ## | 31 ## |
32 ## If defined, @var{tol} defines the relative tolerance to which to | 32 ## If defined, @var{tol} defines the relative tolerance to which to |
33 ## which to integrate @code{@var{f}(@var{x})}. While if @var{trace} is | 33 ## which to integrate @code{@var{f}(@var{x})}. While if @var{trace} is |
34 ## defined, displays the left end point of the current interval, the | 34 ## defined, displays the left end point of the current interval, the |
35 ## interval length, and the partial integral. | 35 ## interval length, and the partial integral. |
36 ## | 36 ## |
37 ## Additional arguments @var{p1}, etc, are passed directly to @var{f}. | 37 ## Additional arguments @var{p1}, etc, are passed directly to @var{f}. |
38 ## To use default values for @var{tol} and @var{trace}, one may pass | 38 ## To use default values for @var{tol} and @var{trace}, one may pass |