Mercurial > hg > octave-lyh
changeset 6502:6ab0a8767780
[project @ 2007-04-06 03:32:06 by jwe]
author | jwe |
---|---|
date | Fri, 06 Apr 2007 03:32:06 +0000 |
parents | 68f3125f6e27 |
children | a46d4161213f |
files | doc/interpreter/arith.txi doc/interpreter/container.txi doc/interpreter/func.txi doc/interpreter/image.txi doc/interpreter/linalg.txi doc/interpreter/matrix.txi doc/interpreter/octave.texi doc/interpreter/optim.txi doc/interpreter/plot.txi doc/interpreter/poly.txi doc/interpreter/quad.txi doc/interpreter/set.txi doc/interpreter/stats.txi doc/interpreter/strings.txi doc/interpreter/struct.txi doc/interpreter/system.txi scripts/plot/contourc.m |
diffstat | 17 files changed, 217 insertions(+), 57 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/arith.txi +++ b/doc/interpreter/arith.txi @@ -146,6 +146,22 @@ @DOCSTRING(atan2) +In addition to the trigonometric functions that work with radians, +Octave also provides the following functions which work with degrees. + +@DOCSTRING(sind) +@DOCSTRING(cosd) +@DOCSTRING(tand) +@DOCSTRING(secd) +@DOCSTRING(cscd) +@DOCSTRING(cotd) + +@DOCSTRING(asind) +@DOCSTRING(acosd) +@DOCSTRING(atand) +@DOCSTRING(asecd) +@DOCSTRING(acscd) +@DOCSTRING(acotd) @node Sums and Products @section Sums and Products @@ -171,6 +187,8 @@ @DOCSTRING(betainc) +@DOCSTRING(betaln) + @DOCSTRING(bincoeff) @DOCSTRING(erf) @@ -183,6 +201,8 @@ @DOCSTRING(gammainc) +@DOCSTRING(legendre) + @DOCSTRING(lgamma) @DOCSTRING(cross)
--- a/doc/interpreter/container.txi +++ b/doc/interpreter/container.txi @@ -7,26 +7,9 @@ @cindex containers @menu -* Lists:: * Cell Arrays:: @end menu -@node Lists -@section Lists -@cindex lists - -@DOCSTRING(list) - -@DOCSTRING(nth) - -@DOCSTRING(append) - -@DOCSTRING(reverse) - -@DOCSTRING(splice) - -@DOCSTRING(islist) - @node Cell Arrays @section Cell Arrays @cindex cell arrays @@ -36,3 +19,15 @@ @DOCSTRING(cellstr) @DOCSTRING(iscell) + +@DOCSTRING(cell2mat) + +@DOCSTRING(cell2struct) + +@DOCSTRING(cellfun) + +@DOCSTRING(cellidx) + +@DOCSTRING(mat2cell) + +@DOCSTRING(num2cell)
--- a/doc/interpreter/func.txi +++ b/doc/interpreter/func.txi @@ -432,8 +432,20 @@ @c FIXME -- note about time stamps on files in NFS environments? +@DOCSTRING(addpath) + +@DOCSTRING(genpath) + +@DOCSTRING(rmpath) + +@DOCSTRING(savepath) + @DOCSTRING(path) +@DOCSTRING(pathdef) + +@DOCSTRING(pathsep) + @DOCSTRING(rehash) @DOCSTRING(file_in_loadpath)
--- a/doc/interpreter/image.txi +++ b/doc/interpreter/image.txi @@ -50,3 +50,5 @@ @DOCSTRING(saveimage) @DOCSTRING(IMAGE_PATH) + +@DOCSTRING(image_viewer)
--- a/doc/interpreter/linalg.txi +++ b/doc/interpreter/linalg.txi @@ -47,11 +47,17 @@ @DOCSTRING(trace) +@DOCSTRING(rref) + @node Matrix Factorizations @section Matrix Factorizations @DOCSTRING(chol) +@DOCSTRING(cholinv) + +@DOCSTRING(chol2inv) + @DOCSTRING(hess) @DOCSTRING(lu)
--- a/doc/interpreter/matrix.txi +++ b/doc/interpreter/matrix.txi @@ -213,14 +213,24 @@ The following functions return famous matrix forms. +@DOCSTRING(hadamard) + @DOCSTRING(hankel) @DOCSTRING(hilb) @DOCSTRING(invhilb) +@DOCSTRING(magic) + +@DOCSTRING(pascal) + +@DOCSTRING(rosser) + @DOCSTRING(sylvester_matrix) @DOCSTRING(toeplitz) @DOCSTRING(vander) + +@DOCSTRING(wilkinson)
--- a/doc/interpreter/octave.texi +++ b/doc/interpreter/octave.texi @@ -256,7 +256,6 @@ Containers -* Lists:: * Cell Arrays:: Variables
--- a/doc/interpreter/optim.txi +++ b/doc/interpreter/optim.txi @@ -23,12 +23,18 @@ @node Linear Programming @section Linear Programming +@DOCSTRING(glpk) + @node Quadratic Programming @section Quadratic Programming +@DOCSTRING(qp) + @node Nonlinear Programming @section Nonlinear Programming +@DOCSTRING(sqp) + @node Linear Least Squares @section Linear Least Squares
--- a/doc/interpreter/plot.txi +++ b/doc/interpreter/plot.txi @@ -14,10 +14,11 @@ * Two-Dimensional Plotting:: * Specialized Two-Dimensional Plots:: * Three-Dimensional Plotting:: +* Manipulating Existing Plots:: * Plot Annotations:: * Multiple Plots on One Page:: * Multiple Plot Windows:: -@c *Exporting Plots:: +* Printing Plots:: * Interaction with gnuplot:: @end menu @@ -29,21 +30,23 @@ @cindex plotting @cindex graphics +@DOCSTRING(axes) + @DOCSTRING(plot) +@DOCSTRING(line) + +@DOCSTRING(fplot) + +@DOCSTRING(drawnow) + +@DOCSTRING(shg) + @DOCSTRING(hold) @DOCSTRING(ishold) -@DOCSTRING(clearplot) - -@DOCSTRING(shg) - -@DOCSTRING(closeplot) - -@DOCSTRING(purge_tmp_files) - -@DOCSTRING(axis) +@DOCSTRING(newplot) @node Specialized Two-Dimensional Plots @section Specialized Two-Dimensional Plots @@ -52,6 +55,8 @@ @DOCSTRING(contour) +@DOCSTRING(contourc) + @DOCSTRING(hist) @DOCSTRING(loglog) @@ -62,6 +67,8 @@ @DOCSTRING(semilogy) +@DOCSTRING(stem) + @DOCSTRING(stairs) @DOCSTRING(errorbar) @@ -75,7 +82,7 @@ @node Three-Dimensional Plotting @section Three-Dimensional Plotting -The @sc{Matlab}-style three-dimensional plotting commands are: +@DOCSTRING(plot3) @DOCSTRING(mesh) @@ -83,15 +90,44 @@ @DOCSTRING(meshdom) +@DOCSTRING(view) + +@node Manipulating Existing Plots +@section Manipulating Existing Plots + +@DOCSTRING(axis) + +@DOCSTRING(gca) + +@DOCSTRING(gcf) + +@DOCSTRING(get) + +@DOCSTRING(set) + +@DOCSTRING(clf) + +@DOCSTRING(delete) + +@DOCSTRING(close) + +@DOCSTRING(closereq) + @node Plot Annotations @section Plot Annotations -@DOCSTRING(grid) - @DOCSTRING(title) +@DOCSTRING(legend) + +@DOCSTRING(text) + @DOCSTRING(xlabel) +@DOCSTRING(box) + +@DOCSTRING(grid) + @node Multiple Plots on One Page @section Multiple Plots on One Page @@ -102,8 +138,12 @@ @DOCSTRING(figure) -@c @node Exporting Plots -@c FIXME -- add info about getting paper copies of plots. +@node Printing Plots +@section Printing Plots + +@DOCSTRING(print) + +@DOCSTRING(orient) @node Interaction with gnuplot @section Interaction with @code{gnuplot}
--- a/doc/interpreter/poly.txi +++ b/doc/interpreter/poly.txi @@ -47,8 +47,12 @@ @DOCSTRING(polyderiv) +@DOCSTRING(polyder) + @DOCSTRING(polyfit) +@DOCSTRING(polygcd) + @DOCSTRING(polyinteg) @DOCSTRING(polyreduce) @@ -62,3 +66,9 @@ @DOCSTRING(roots) @DOCSTRING(polyout) + +@DOCSTRING(ppval) + +@DOCSTRING(mkpp) + +@DOCSTRING(unmkpp)
--- a/doc/interpreter/quad.txi +++ b/doc/interpreter/quad.txi @@ -70,6 +70,12 @@ is reasonably accurate (to see why, examine what happens to the result if you move the lower bound to 0.1, then 0.01, then 0.001, etc.). +@DOCSTRING(quadl) + +@DOCSTRING(trapz) + +@DOCSTRING(cumtrapz) + @node Orthogonal Collocation @section Orthogonal Collocation
--- a/doc/interpreter/set.txi +++ b/doc/interpreter/set.txi @@ -10,8 +10,14 @@ @DOCSTRING(create_set) +@DOCSTRING(unique) + @DOCSTRING(union) -@DOCSTRING(intersection) +@DOCSTRING(intersect) @DOCSTRING(complement) + +@DOCSTRING(setdiff) + +@DOCSTRING(setxor)
--- a/doc/interpreter/stats.txi +++ b/doc/interpreter/stats.txi @@ -254,6 +254,14 @@ @DOCSTRING(lognrnd) +@DOCSTRING(nbincdf) + +@DOCSTRING(nbininv) + +@DOCSTRING(nbinpdf) + +@DOCSTRING(nbinrnd) + @DOCSTRING(normcdf) @DOCSTRING(norminv) @@ -262,14 +270,6 @@ @DOCSTRING(normrnd) -@DOCSTRING(pascal_cdf) - -@DOCSTRING(pascal_inv) - -@DOCSTRING(pascal_pdf) - -@DOCSTRING(pascal_rnd) - @DOCSTRING(poisscdf) @DOCSTRING(poissinv) @@ -278,14 +278,6 @@ @DOCSTRING(poissrnd) -@DOCSTRING(stdnormal_cdf) - -@DOCSTRING(stdnormal_inv) - -@DOCSTRING(stdnormal_pdf) - -@DOCSTRING(stdnormal_rnd) - @DOCSTRING(tcdf) @DOCSTRING(tinv) @@ -294,6 +286,14 @@ @DOCSTRING(trnd) +@DOCSTRING(unidcdf) + +@DOCSTRING(unidinv) + +@DOCSTRING(unidpdf) + +@DOCSTRING(unidrnd) + @DOCSTRING(unifcdf) @DOCSTRING(unifinv) @@ -302,12 +302,12 @@ @DOCSTRING(unifrnd) -@DOCSTRING(weibcdf) +@DOCSTRING(wblcdf) -@DOCSTRING(weibinv) +@DOCSTRING(wblinv) -@DOCSTRING(weibpdf) +@DOCSTRING(wblpdf) -@DOCSTRING(weibull_rnd) +@DOCSTRING(wblrnd) @DOCSTRING(wienrnd)
--- a/doc/interpreter/strings.txi +++ b/doc/interpreter/strings.txi @@ -135,13 +135,19 @@ @DOCSTRING(strcat) +@DOCSTRING(strvcat) + +@DOCSTRING(strtrunc) + @DOCSTRING(string_fill_char) @DOCSTRING(str2mat) @DOCSTRING(ischar) -@DOCSTRING(isstr) +@DOCSTRING(mat2str) + +@DOCSTRING(num2str) @node Searching and Replacing @section Searching and Replacing @@ -154,10 +160,22 @@ @DOCSTRING(rindex) +@DOCSTRING(strfind) + +@DOCSTRING(strmatch) + +@DOCSTRING(strtok) + @DOCSTRING(split) @DOCSTRING(strcmp) +@DOCSTRING(strcmpi) + +@DOCSTRING(strncmp) + +@DOCSTRING(strncmpi) + @DOCSTRING(strrep) @DOCSTRING(substr) @@ -183,6 +201,8 @@ @DOCSTRING(strjust) +@DOCSTRING(str2double) + @DOCSTRING(str2num) @DOCSTRING(toascii)
--- a/doc/interpreter/struct.txi +++ b/doc/interpreter/struct.txi @@ -184,8 +184,22 @@ The following functions are available to give you information about structures. +@DOCSTRING(struct) + @DOCSTRING(isstruct) @DOCSTRING(fieldnames) @DOCSTRING(isfield) + +@DOCSTRING(getfield) + +@DOCSTRING(orderfields) + +@DOCSTRING(rmfield) + +@DOCSTRING(setfield) + +@DOCSTRING(struct2cell) + +@DOCSTRING(substruct)
--- a/doc/interpreter/system.txi +++ b/doc/interpreter/system.txi @@ -73,6 +73,8 @@ @DOCSTRING(time) +@DOCSTRING(now) + @DOCSTRING(ctime) @DOCSTRING(gmtime) @@ -110,6 +112,18 @@ @DOCSTRING(usleep) +@DOCSTRING( datenum) + +@DOCSTRING(datestr) + +@DOCSTRING(datevec) + +@DOCSTRING(calendar) + +@DOCSTRING(weekday) + +@DOCSTRING(eomday) + @node Filesystem Utilities @section Filesystem Utilities
--- a/scripts/plot/contourc.m +++ b/scripts/plot/contourc.m @@ -18,7 +18,7 @@ ## 02110-1301, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {} [@var{c}, @var{lev}] = contourc (@var{x}, @var{y}, @var{z}, @var{vv}) +## @deftypefn {Function File} {[@var{c}, @var{lev}] =} contourc (@var{x}, @var{y}, @var{z}, @var{vv}) ## Compute isolines (countour lines) of the matrix @var{z}. ## Parameters @var{x}, @var{y} and @var{vn} are optional. ## @@ -42,7 +42,7 @@ ## If @var{vn} is omitted it defaults to 10. ## ## @example -## @var{c}=contourc (@var{x}, @var{y}, @var{z}, linspace(0,2*pi,10)) +## c = contourc (x, y, z, linspace (0, 2*pi, 10)); ## @end example ## @seealso{contour} ## @end deftypefn