changeset 8611:1e47b5f04b4c

mappers.cc (Farg): doc fix
author John W. Eaton <jwe@octave.org>
date Tue, 27 Jan 2009 23:48:57 -0500
parents 85c9906abfd1
children 20d23d65cc84
files src/mappers.cc
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/mappers.cc	Tue Jan 27 23:17:37 2009 -0500
+++ b/src/mappers.cc	Tue Jan 27 23:48:57 2009 -0500
@@ -175,15 +175,7 @@
 @deftypefn {Mapping Function} {} arg (@var{z})\n\
 @deftypefnx {Mapping Function} {} angle (@var{z})\n\
 Compute the argument of @var{z}, defined as\n\
-@iftex\n\
-@tex\n\
-$\\theta = \\tan^{-1}(y/x)$.\n\
-@end tex\n\
-@end iftex\n\
-@ifnottex\n\
-@var{theta} = @code{atan (@var{y}/@var{x})}.\n\
-@end ifnottex\n\
-@noindent\n\
+@var{theta} = @code{atan2 (@var{y}, @var{x})}.\n\
 in radians. \n\
 \n\
 For example,\n\