Mercurial > hg > octave-lyh
comparison src/mappers.cc @ 8611:1e47b5f04b4c
mappers.cc (Farg): doc fix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 27 Jan 2009 23:48:57 -0500 |
parents | 81d6ab3ac93c |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8610:85c9906abfd1 | 8611:1e47b5f04b4c |
---|---|
173 DEFUN (arg, args, , | 173 DEFUN (arg, args, , |
174 "-*- texinfo -*-\n\ | 174 "-*- texinfo -*-\n\ |
175 @deftypefn {Mapping Function} {} arg (@var{z})\n\ | 175 @deftypefn {Mapping Function} {} arg (@var{z})\n\ |
176 @deftypefnx {Mapping Function} {} angle (@var{z})\n\ | 176 @deftypefnx {Mapping Function} {} angle (@var{z})\n\ |
177 Compute the argument of @var{z}, defined as\n\ | 177 Compute the argument of @var{z}, defined as\n\ |
178 @iftex\n\ | 178 @var{theta} = @code{atan2 (@var{y}, @var{x})}.\n\ |
179 @tex\n\ | |
180 $\\theta = \\tan^{-1}(y/x)$.\n\ | |
181 @end tex\n\ | |
182 @end iftex\n\ | |
183 @ifnottex\n\ | |
184 @var{theta} = @code{atan (@var{y}/@var{x})}.\n\ | |
185 @end ifnottex\n\ | |
186 @noindent\n\ | |
187 in radians. \n\ | 179 in radians. \n\ |
188 \n\ | 180 \n\ |
189 For example,\n\ | 181 For example,\n\ |
190 \n\ | 182 \n\ |
191 @example\n\ | 183 @example\n\ |