comparison scripts/set/complement.m @ 3368:a4cd1e9d9962

[project @ 1999-11-20 17:22:48 by jwe]
author jwe
date Sat, 20 Nov 1999 17:23:01 +0000
parents 8b262e771614
children a020244950f9
comparison
equal deleted inserted replaced
3367:0748b03c3510 3368:a4cd1e9d9962
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
18 ## 02111-1307, USA. 18 ## 02111-1307, USA.
19 19
20 ## usage: complement (a, b) 20 ## -*- texinfo -*-
21 ## 21 ## @deftypefn {Function File} {} complement (@var{x}, @var{y})
22 ## Returns the elements of set b that are not in set a. 22 ## Return the elements of set @var{y} that are not in set @var{x}. For
23 ## 23 ## example,
24 ## See - create_set, union, intersection 24 ##
25 ## @example
26 ## @group
27 ## complement ([ 1, 2, 3 ], [ 2, 3, 5 ])
28 ## @result{} 5
29 ## @end group
30 ## @end example
31 ## @end deftypefn
32
33 ## See also: create_set, union, intersection
25 34
26 ## Author: jwe 35 ## Author: jwe
27 36
28 function y = complement (a, b) 37 function y = complement (a, b)
29 38