Mercurial > hg > octave-lyh
comparison src/oct-parse.yy @ 13019:1653d3a86fca stable
doc: Fix warnings and errors in Texinfo required for building docs on stable branch.
oct-parse.yy: Fix warning by shifting @xref to @pxref.
matrix.txi, numbers.txi: Correct capitalization of @ref so that it
refers to a known Texinfo node.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 28 Aug 2011 20:30:41 -0700 |
parents | 8b5b85e26246 |
children | 50db905c3cf1 |
comparison
equal
deleted
inserted
replaced
13018:ca08ddb1c06a | 13019:1653d3a86fca |
---|---|
4222 \n\ | 4222 \n\ |
4223 @noindent\n\ | 4223 @noindent\n\ |
4224 calls the function @code{acos} with the argument @samp{-1}.\n\ | 4224 calls the function @code{acos} with the argument @samp{-1}.\n\ |
4225 \n\ | 4225 \n\ |
4226 The function @code{feval} can also be used with function handles of\n\ | 4226 The function @code{feval} can also be used with function handles of\n\ |
4227 any sort. @xref{Function Handles} Historically, @code{feval} was\n\ | 4227 any sort (@pxref{Function Handles}). Historically, @code{feval} was\n\ |
4228 the only way to call user-supplied functions in strings, but\n\ | 4228 the only way to call user-supplied functions in strings, but\n\ |
4229 function handles are now preferred due to the cleaner syntax they\n\ | 4229 function handles are now preferred due to the cleaner syntax they\n\ |
4230 offer. For example,\n\ | 4230 offer. For example,\n\ |
4231 \n\ | 4231 \n\ |
4232 @example\n\ | 4232 @example\n\ |
4233 @group\n\ | 4233 @group\n\ |
4234 @var{f} = @@exp;\n\ | 4234 @var{f} = @@exp;\n\ |
4235 feval (@var{f}, 1)\n\ | 4235 feval (@var{f}, 1)\n\ |
4238 @result{} 2.7183\n\ | 4238 @result{} 2.7183\n\ |
4239 @end group\n\ | 4239 @end group\n\ |
4240 @end example\n\ | 4240 @end example\n\ |
4241 \n\ | 4241 \n\ |
4242 @noindent\n\ | 4242 @noindent\n\ |
4243 are equivalent ways to call the function referred to by @var{f}. If it\n\ | 4243 are equivalent ways to call the function referred to by @var{f}. If it\n\ |
4244 cannot be predicted beforehand that @var{f} is a function handle or the\n\ | 4244 cannot be predicted beforehand that @var{f} is a function handle or the\n\ |
4245 function name in a string, @code{feval} can be used instead.\n\ | 4245 function name in a string, @code{feval} can be used instead.\n\ |
4246 @end deftypefn") | 4246 @end deftypefn") |
4247 { | 4247 { |
4248 octave_value_list retval; | 4248 octave_value_list retval; |