Mercurial > octave
diff scripts/set/unique.m @ 21546:f7f97d7e9294
doc: Wrap m-file docstrings to 79 characters + newline (80 total).
* isrecording.m, soundsc.m, delaunay3.m, cell2mat.m, cumtrapz.m, del2.m,
inputParser.m, interp1.m, interp3.m, narginchk.m, profile.m,
validateattributes.m, delaunayn.m, tsearchn.m, voronoin.m, brighten.m,
cmunique.m, colorcube.m, imfinfo.m, imshow.m, edit.m, orderfields.m, run.m,
warning_ids.m, ode23.m, ode45.m, odeget.m, integrate_adaptive.m, kahan.m,
ode_struct_value_check.m, runge_kutta_23.m, fminunc.m, fsolve.m, fzero.m,
pkg.m, build.m, specular.m, view.m, bar.m, barh.m, contour3.m, isosurface.m,
line.m, pie.m, pie3.m, quiver3.m, scatter.m, scatter3.m, stem3.m, stemleaf.m,
surfl.m, tetramesh.m, isfigure.m, mkpp.m, pchip.m, residue.m, splinefit.m,
rmpref.m, unique.m, eigs.m, ilu.m, factor.m, factorial.m, gallery.m, hankel.m,
histc.m, ols.m, finv.m, fpdf.m, kruskal_wallis_test.m, weekday.m:
Wrap m-file docstrings to 79 characters + newline (80 total).
author | Rik <rik@octave.org> |
---|---|
date | Sun, 27 Mar 2016 15:50:01 -0700 |
parents | 77f5591878bf |
children | 17845d0e359f |
line wrap: on
line diff
--- a/scripts/set/unique.m Sun Mar 27 15:15:24 2016 -0700 +++ b/scripts/set/unique.m Sun Mar 27 15:50:01 2016 -0700 @@ -26,7 +26,8 @@ ## Return the unique elements of @var{x} sorted in ascending order. ## ## If the input @var{x} is a column vector then return a column vector; -## Otherwise, return a row vector. @var{x} may also be a cell array of strings. +## Otherwise, return a row vector. @var{x} may also be a cell array of +## strings. ## ## If the optional argument @qcode{"rows"} is given then return the unique ## rows of @var{x} sorted in ascending order. The input must be a 2-D matrix @@ -35,10 +36,11 @@ ## If requested, return index vectors @var{i} and @var{j} such that ## @code{@var{y} = @var{x}(@var{i})} and @code{@var{x} = @var{y}(@var{j})}. ## -## Additionally, if @var{i} is a requested output then one of @qcode{"first"} or -## @qcode{"last"} may be given as an input. If @qcode{"last"} is specified, -## return the highest possible indices in @var{i}, otherwise, if @qcode{"first"} -## is specified, return the lowest. The default is @qcode{"last"}. +## Additionally, if @var{i} is a requested output then one of +## @qcode{"first"} or @qcode{"last"} may be given as an input. If +## @qcode{"last"} is specified, return the highest possible indices in +## @var{i}, otherwise, if @qcode{"first"} is specified, return the lowest. +## The default is @qcode{"last"}. ## @seealso{union, intersect, setdiff, setxor, ismember} ## @end deftypefn