Mercurial > hg > octave-avbm
changeset 9659:0bcfeadb6178
fix union, setxor docstrings
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 21 Sep 2009 07:58:58 +0200 |
parents | 3429c956de6f |
children | 0256e187d13b |
files | scripts/ChangeLog scripts/set/setxor.m scripts/set/union.m |
diffstat | 3 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-09-21 Jaroslav Hajek <highegg@gmail.com> + + * set/union.m: Fix docstring. + * set/setxor.m: Fix docstring. + 2009-09-16 Jaroslav Hajek <highegg@gmail.com> * general/randperm.m: Remove.
--- a/scripts/set/setxor.m +++ b/scripts/set/setxor.m @@ -27,8 +27,8 @@ ## ## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} setxor (@var{a}, @var{b}) ## -## Return index vectors @var{ia} and @var{ib} such that @code{a == c(ia)} and -## @code{b == c(ib)}. +## Return index vectors @var{ia} and @var{ib} such that @code{a(ia)} and @code{b(ib)} are +## disjoint sets whose union is @var{c}. ## ## @seealso{unique, union, intersect, setdiff, ismember} ## @end deftypefn
--- a/scripts/set/union.m +++ b/scripts/set/union.m @@ -45,8 +45,8 @@ ## ## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b}) ## -## Return index vectors @var{ia} and @var{ib} such that @code{a == c(ia)} and -## @code{b == c(ib)}. +## Return index vectors @var{ia} and @var{ib} such that @code{a(ia)} and @code{b(ib)} are +## disjoint sets whose union is @var{c}. ## ## @seealso{intersect, complement, unique} ## @end deftypefn