Mercurial > octave-nkf
comparison scripts/general/rat.m @ 10793:be55736a0783
Grammarcheck the documentation from m-files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 18 Jul 2010 20:35:16 -0700 |
parents | 95c3e38098bf |
children | 693e22af08ae |
comparison
equal
deleted
inserted
replaced
10792:91342260063e | 10793:be55736a0783 |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{s} =} rat (@var{x}, @var{tol}) | 20 ## @deftypefn {Function File} {@var{s} =} rat (@var{x}, @var{tol}) |
21 ## @deftypefnx {Function File} {[@var{n}, @var{d}] =} rat (@var{x}, @var{tol}) | 21 ## @deftypefnx {Function File} {[@var{n}, @var{d}] =} rat (@var{x}, @var{tol}) |
22 ## | 22 ## |
23 ## Find a rational approximation to @var{x} within the tolerance defined | 23 ## Find a rational approximation to @var{x} within the tolerance defined |
24 ## by @var{tol} using a continued fraction expansion. For example, | 24 ## by @var{tol} using a continued fraction expansion. For example, |
25 ## | 25 ## |