comparison scripts/set/setdiff.m @ 6248:7fad1fad19e1

[project @ 2007-01-22 17:28:17 by jwe]
author jwe
date Mon, 22 Jan 2007 17:29:53 +0000
parents 34f96dd5441b
children a192de8c0ead
comparison
equal deleted inserted replaced
6247:7b04118f04df 6248:7fad1fad19e1
17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 ## 02110-1301, USA. 18 ## 02110-1301, USA.
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} setdiff (@var{a}, @var{b}) 21 ## @deftypefn {Function File} {} setdiff (@var{a}, @var{b})
22 ## @deftypefnx {Function File} {} setdiff(@var{a}, @var{b}, "rows") 22 ## @deftypefnx {Function File} {} setdiff (@var{a}, @var{b}, "rows")
23 ## Return the elements in @var{a} that are not in @var{b}, sorted in 23 ## Return the elements in @var{a} that are not in @var{b}, sorted in
24 ## ascending order. If @var{a} and @var{b} are both column vectors 24 ## ascending order. If @var{a} and @var{b} are both column vectors
25 ## return a column vector, otherwise return a row vector. 25 ## return a column vector, otherwise return a row vector.
26 ## 26 ##
27 ## Given the optional third argument @samp{"rows"}, return the rows in 27 ## Given the optional third argument @samp{"rows"}, return the rows in