Mercurial > hg > octave-terminal
changeset 6550:1b7a6061a05d
[project @ 2007-04-20 07:40:26 by jwe]
author | jwe |
---|---|
date | Fri, 20 Apr 2007 07:40:26 +0000 |
parents | 5a5a09d7deb8 |
children | 75c4045cf1db |
files | doc/interpreter/arith.txi doc/interpreter/basics.txi doc/interpreter/data.txi doc/interpreter/expr.txi doc/interpreter/io.txi doc/interpreter/matrix.txi doc/interpreter/numbers.txi doc/interpreter/octave.texi doc/interpreter/plot.txi doc/interpreter/set.txi doc/interpreter/stats.txi doc/interpreter/system.txi doc/interpreter/var.txi src/DLD-FUNCTIONS/cellfun.cc src/ov.cc |
diffstat | 15 files changed, 78 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/arith.txi +++ b/doc/interpreter/arith.txi @@ -28,12 +28,20 @@ @DOCSTRING(ceil) +@DOCSTRING(cplxpair) + @DOCSTRING(exp) +@DOCSTRING(factor) + +@DOCSTRING(factorial) + @DOCSTRING(fix) @DOCSTRING(floor) +@DOCSTRING(fmod) + @DOCSTRING(gcd) @DOCSTRING(lcm) @@ -52,8 +60,12 @@ @DOCSTRING(nextpow2) +@DOCSTRING(nthroot) + @DOCSTRING(pow2) +@DOCSTRING(primes) + @DOCSTRING(rem) @DOCSTRING(round)
--- a/doc/interpreter/basics.txi +++ b/doc/interpreter/basics.txi @@ -199,6 +199,8 @@ @DOCSTRING(argv) +@DOCSTRING(program_name) + @DOCSTRING(program_invocation_name) Here is an example of using these functions to reproduce Octave's @@ -270,6 +272,10 @@ Startup files may contain any valid Octave commands, including function definitions. +@DOCSTRING(version) + +@DOCSTRING(ver) + @node Quitting Octave @section Quitting Octave @cindex exiting octave @@ -581,6 +587,8 @@ @DOCSTRING(saving_history) +@DOCSTRING(history_timestamp_format_string) + @node Customizing readline @subsection Customizing @code{readline}
--- a/doc/interpreter/data.txi +++ b/doc/interpreter/data.txi @@ -38,6 +38,12 @@ built-in type, you are encouraged to write your own user-defined data type and contribute it for distribution in a future release of Octave. +@DOCSTRING(class) + +@DOCSTRING(isa) + +@DOCSTRING(cast) + @menu * Numeric Objects:: * Missing Data:: @@ -153,3 +159,5 @@ @DOCSTRING(sizeof) @DOCSTRING(size_equal) + +@DOCSTRING(squeeze)
--- a/doc/interpreter/expr.txi +++ b/doc/interpreter/expr.txi @@ -153,6 +153,8 @@ particularly for large matrices because Octave does not have to repeatedly resize the result. +@DOCSTRING(subsref) + @DOCSTRING(sub2ind) @DOCSTRING(ind2sub) @@ -555,6 +557,10 @@ function, not with the comparison operators listed above. @xref{Strings}. +@DOCSTRING(isequal) + +@DOCSTRING(isequalwithequalnans) + @node Boolean Expressions @section Boolean Expressions @cindex expressions, boolean @@ -901,6 +907,8 @@ programs hard to read. Except in a one-shot program, you should rewrite it to get rid of such nesting of assignments. This is never very hard. +@DOCSTRING(subsasgn) + @cindex increment operator @cindex decrement operator @cindex operators, increment
--- a/doc/interpreter/io.txi +++ b/doc/interpreter/io.txi @@ -147,12 +147,18 @@ @DOCSTRING(octave_core_file_options) +@DOCSTRING(octave_core_file_limit) + +@DOCSTRING(octave_core_file_name) + @DOCSTRING(save_precision) @DOCSTRING(save_header_format_string) @DOCSTRING(load) +@DOCSTRING(native_float_format) + @node C-Style I/O Functions @section C-Style I/O Functions
--- a/doc/interpreter/matrix.txi +++ b/doc/interpreter/matrix.txi @@ -15,6 +15,7 @@ @menu * Finding Elements and Checking Conditions:: * Rearranging Matrices:: +* Applying a Function to an Array:: * Special Utility Matrices:: * Famous Matrices:: @end menu @@ -99,6 +100,8 @@ @DOCSTRING(sort) +@DOCSTRING(sortrows) + Since the @code{sort} function does not allow sort keys to be specified, it can't be used to order the rows of a matrix according to the values of the elements in various columns@footnote{For example, to first sort @@ -120,6 +123,12 @@ @end group @end example +@DOCSTRING(swap) + +@DOCSTRING(swapcols) + +@DOCSTRING(swaprows) + @DOCSTRING(tril) @DOCSTRING(vec) @@ -128,6 +137,13 @@ @DOCSTRING(prepad) +@DOCSTRING(blkdiag) + +@node Applying a Function to an Array +@section Applying a Function to an Array + +@DOCSTRING(arrayfun) + @node Special Utility Matrices @section Special Utility Matrices
--- a/doc/interpreter/numbers.txi +++ b/doc/interpreter/numbers.txi @@ -434,4 +434,8 @@ @DOCSTRING(issymmetric) +@DOCSTRING(isdefinite) + @DOCSTRING(isbool) + +@DOCSTRING(isprime)
--- a/doc/interpreter/octave.texi +++ b/doc/interpreter/octave.texi @@ -372,6 +372,7 @@ * Finding Elements and Checking Conditions:: * Rearranging Matrices:: +* Applying a Function to an Array:: * Special Utility Matrices:: * Famous Matrices::
--- a/doc/interpreter/plot.txi +++ b/doc/interpreter/plot.txi @@ -88,6 +88,8 @@ @DOCSTRING(meshgrid) +@DOCSTRING(ndgrid) + @DOCSTRING(meshdom) @DOCSTRING(view)
--- a/doc/interpreter/set.txi +++ b/doc/interpreter/set.txi @@ -10,6 +10,8 @@ @DOCSTRING(create_set) +@DOCSTRING(ismember) + @DOCSTRING(unique) @DOCSTRING(union)
--- a/doc/interpreter/stats.txi +++ b/doc/interpreter/stats.txi @@ -37,6 +37,10 @@ @c FIXME -- these need to be organized. +@DOCSTRING(nchoosek) + +@DOCSTRING(perms) + @DOCSTRING(values) @DOCSTRING(var)
--- a/doc/interpreter/system.txi +++ b/doc/interpreter/system.txi @@ -149,6 +149,8 @@ @DOCSTRING(rmdir) +@DOCSTRING(confirm_recursive_rmdir) + @DOCSTRING(mkfifo) @DOCSTRING(umask)
--- a/doc/interpreter/var.txi +++ b/doc/interpreter/var.txi @@ -53,6 +53,8 @@ to hold a string value in the same program. Variables may not be used before they have been given a value. Doing so results in an error. +@DOCSTRING(isvarname) + @menu * Global Variables:: * Persistent Variables::
--- a/src/DLD-FUNCTIONS/cellfun.cc +++ b/src/DLD-FUNCTIONS/cellfun.cc @@ -50,8 +50,8 @@ @deftypefnx {Lodable Function} {} cellfun (@var{func}, @var{c})\n\ @deftypefnx {Lodable Function} {} cellfun (@var{func}, @var{c}, @var{d})\n\ @deftypefnx {Lodable Function} {[@var{a}, @var{b}] =} cellfun (@dots{})\n\ -@deftypefnx {Lodable Function} {} cellfun (@dots{}, 'ErrorHandler',@var{errfunc})\n\ -@deftypefnx {Lodable Function} {} cellfun (@dots{}, 'UniformOutput',@var{val})\n\ +@deftypefnx {Lodable Function} {} cellfun (@dots{}, 'ErrorHandler', @var{errfunc})\n\ +@deftypefnx {Lodable Function} {} cellfun (@dots{}, 'UniformOutput', @var{val})\n\ \n\ Evaluate the function named @var{name} on the elements of the cell array\n\ @var{c}. Elements in @var{c} are passed on to the named function\n\
--- a/src/ov.cc +++ b/src/ov.cc @@ -1948,7 +1948,7 @@ \n\ The subscript @var{idx} is expected to be a structure array with\n\ fields @samp{type} and @samp{subs}. Valid values for @samp{type}\n\ -are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\ +are @samp{\"()\"}, @samp{\"@{@}\"}, and @samp{\".\"}.\n\ The @samp{subs} field may be either @samp{\":\"} or a cell array\n\ of index values.\n\ @seealso{subsasgn, substruct}\n\