[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for setdiff.m
From: |
Robert S. Weigel |
Subject: |
Re: Patch for setdiff.m |
Date: |
Tue, 02 May 2006 09:58:22 -0400 |
User-agent: |
KMail/1.8.2 |
Bill,
Forgot the most important part - the modification of the docs. I also have a
patch that allows multiple outputs as well. I'll send that in next. (I am
still trying to get the hang of sending in things that are easily handled by
the octave maintainers, so please bear with me.)
Bob
--- setdiff.m.old 2006-05-01 08:28:29.000000000 -0400
+++ setdiff.m 2006-05-02 09:54:07.000000000 -0400
@@ -22,18 +22,31 @@
## Return the elements in @var{a} but not in @var{b}, sorted in
## ascending order. If @var{a} and @var{b} are both column vectors
## return a column vector, otherwise return a row vector.
+## @deftypefnx {Function File} {} setdiff(@var{a}, @var{b}, 'rows')
+## Return the rows in @var{a} but not in @var{b}.
## @seealso{unique, union, intersect, setxor, ismember}
## @end deftypefn