comparison scripts/set/powerset.m @ 20160:03b9d17a2d95 stable

doc: Update more docstrings to have one sentence summary as first line. Reviewed io, java, linear-algebra, prefs, and set script directories. * scripts/io/beep.m, scripts/io/dlmwrite.m, scripts/io/importdata.m, scripts/io/strread.m, scripts/io/textread.m, scripts/java/javaArray.m, scripts/java/java_get.m, scripts/java/java_set.m, scripts/java/javaaddpath.m, scripts/java/javachk.m, scripts/java/javaclasspath.m, scripts/java/javamem.m, scripts/java/javarmpath.m, scripts/linear-algebra/bandwidth.m, scripts/linear-algebra/commutation_matrix.m, scripts/linear-algebra/cond.m, scripts/linear-algebra/condest.m, scripts/linear-algebra/cross.m, scripts/linear-algebra/duplication_matrix.m, scripts/linear-algebra/expm.m, scripts/linear-algebra/housh.m, scripts/linear-algebra/isdefinite.m, scripts/linear-algebra/ishermitian.m, scripts/linear-algebra/issymmetric.m, scripts/linear-algebra/istril.m, scripts/linear-algebra/istriu.m, scripts/linear-algebra/krylov.m, scripts/linear-algebra/logm.m, scripts/linear-algebra/normest.m, scripts/linear-algebra/null.m, scripts/linear-algebra/onenormest.m, scripts/linear-algebra/orth.m, scripts/linear-algebra/qzhess.m, scripts/linear-algebra/rank.m, scripts/linear-algebra/rref.m, scripts/linear-algebra/vech.m, scripts/path/matlabroot.m, scripts/prefs/addpref.m, scripts/prefs/getpref.m, scripts/prefs/ispref.m, scripts/prefs/rmpref.m, scripts/prefs/setpref.m, scripts/set/powerset.m, scripts/set/setdiff.m: Update more docstrings to have one sentence summary as first line.
author Rik <rik@octave.org>
date Sun, 03 May 2015 15:36:23 -0700
parents 9fc020886ae9
children
comparison
equal deleted inserted replaced
20159:597991b19e40 20160:03b9d17a2d95
22 ## Compute the powerset (all subsets) of the set @var{a}. 22 ## Compute the powerset (all subsets) of the set @var{a}.
23 ## 23 ##
24 ## The set @var{a} must be a numerical matrix or a cell array of strings. The 24 ## The set @var{a} must be a numerical matrix or a cell array of strings. The
25 ## output will always be a cell array of either vectors or strings. 25 ## output will always be a cell array of either vectors or strings.
26 ## 26 ##
27 ## With the optional second argument @qcode{"rows"}, each row of the set @var{a} 27 ## With the optional argument @qcode{"rows"}, each row of the set @var{a} is
28 ## is considered one element of the set. The input must be a 2-D numeric 28 ## considered one element of the set. The input must be a 2-D numeric matrix
29 ## matrix to use this argument. 29 ## to use this argument.
30 ## 30 ##
31 ## @seealso{unique, union, intersect, setdiff, setxor, ismember} 31 ## @seealso{unique, union, intersect, setdiff, setxor, ismember}
32 ## @end deftypefn 32 ## @end deftypefn
33 33
34 function p = powerset (a, byrows_arg) 34 function p = powerset (a, byrows_arg)